DrawListViewColumnHeaderEventArgs.DrawText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws the column header text.
Overloads
DrawText() |
Draws the column header text using the default formatting. |
DrawText(TextFormatFlags) |
Draws the column header text, formatting it with the specified TextFormatFlags values. |
DrawText()
Draws the column header text using the default formatting.
public:
void DrawText();
public void DrawText ();
member this.DrawText : unit -> unit
Public Sub DrawText ()
Remarks
Use this method when you do not need to customize the appearance of the header text.
See also
Applies to
DrawText(TextFormatFlags)
Draws the column header text, formatting it with the specified TextFormatFlags values.
public:
void DrawText(System::Windows::Forms::TextFormatFlags flags);
public void DrawText (System.Windows.Forms.TextFormatFlags flags);
member this.DrawText : System.Windows.Forms.TextFormatFlags -> unit
Public Sub DrawText (flags As TextFormatFlags)
Parameters
- flags
- TextFormatFlags
A bitwise combination of TextFormatFlags values.
Remarks
Use this method when you do not need to customize the appearance of the header text. The TextFormatFlags values specified in the flags
parameter let you provide formatting properties for the header, such as text alignment.
See also
Applies to
.NET