System.Windows.Forms.DrawListViewColumnHeaderEventArgs Members

The members of System.Windows.Forms.DrawListViewColumnHeaderEventArgs are listed below.

See Also: Inherited members from System.EventArgs

Public Constructors

Public Properties

[read-only]
BackColorSystem.Drawing.Color.

Gets the background color of the header.

[read-only]
BoundsSystem.Drawing.Rectangle.

Gets the size and location of the column header to draw.

[read-only]
ColumnIndexint.

Gets the index of the System.Windows.Forms.ColumnHeader representing the header to draw.

DrawDefaultbool.

Gets or sets a value indicating whether the column header should be drawn by the operating system instead of owner-drawn.

[read-only]
FontSystem.Drawing.Font.

Gets the font used to draw the column header text.

[read-only]
ForeColorSystem.Drawing.Color.

Gets the foreground color of the header.

[read-only]
GraphicsSystem.Drawing.Graphics.

Gets the System.Drawing.Graphics used to draw the column header.

[read-only]
HeaderColumnHeader.

Gets the System.Windows.Forms.ColumnHeader representing the column header to draw.

[read-only]
StateListViewItemStates.

Gets the current state of the column header.

Public Methods

DrawBackground()

Draws the background of the column header.

DrawText()

Draws the column header text using the default formatting.

DrawText(TextFormatFlags)

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