Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DrawListViewColumnHeaderEventArgs::DrawText Method (TextFormatFlags)

 

Draws the column header text, formatting it with the specified TextFormatFlags values.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void DrawText(
	TextFormatFlags flags
)

Parameters

flags
Type: System.Windows.Forms::TextFormatFlags

A bitwise combination of TextFormatFlags values.

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft