Editare

Partajați prin


DrawListViewColumnHeaderEventArgs.DrawText Method

Definition

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