Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft