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


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