System.Windows.Forms.DrawListViewSubItemEventArgs Members

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

See Also: Inherited members from System.EventArgs

Public Constructors

Public Properties

[read-only]
BoundsSystem.Drawing.Rectangle.

Gets the size and location of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

[read-only]
ColumnIndexint.

Gets the index of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed.

DrawDefaultbool.

Gets or sets a value indicating whether the System.Windows.Forms.ListViewItem.ListViewSubItem should be drawn by the operating system instead of owner-drawn.

[read-only]
GraphicsSystem.Drawing.Graphics.

Gets the System.Drawing.Graphics used to draw the System.Windows.Forms.ListViewItem.ListViewSubItem.

[read-only]
HeaderColumnHeader.

Gets the header of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed.

[read-only]
ItemListViewItem.

Gets the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

[read-only]
ItemIndexint.

Gets the index of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

[read-only]
ItemStateListViewItemStates.

Gets the current state of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

[read-only]
SubItemListViewItem.ListViewSubItem.

Gets the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

Public Methods

DrawBackground()

Draws the background of the System.Windows.Forms.ListViewItem.ListViewSubItem using its current background color.

DrawFocusRectangle(System.Drawing.Rectangle)

Draws a focus rectangle for the System.Windows.Forms.ListViewItem.ListViewSubItem if the parent System.Windows.Forms.ListViewItem has focus.

DrawText()

Draws the text of the System.Windows.Forms.ListViewItem.ListViewSubItem using its current foreground color.

DrawText(TextFormatFlags)

Draws the text of the System.Windows.Forms.ListViewItem.ListViewSubItem using its current foreground color and formatting it with the specified System.Windows.Forms.TextFormatFlags values.