System.Windows.Forms.DrawListViewColumnHeaderEventArgs.DrawText Method

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

Syntax

public void DrawText (TextFormatFlags flags)

Parameters

flags
A bitwise combination of System.Windows.Forms.TextFormatFlags values.

Remarks

Use this method when you do not need to customize the appearance of the header text. The System.Windows.Forms.TextFormatFlags values specified in the flags parameter let you provide formatting properties for the header, such as text alignment.

Requirements

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