Draws the column header text, formatting it with the specified System.Windows.Forms.TextFormatFlags values.
- flags
- A bitwise combination of System.Windows.Forms.TextFormatFlags values.
Use this method when you do not need to customize the appearance of the header text. The System.Windows.Forms.TextFormatFlags values specified in the flags parameter let you provide formatting properties for the header, such as text alignment.