DrawListViewSubItemEventArgs Members

Provides data for the ListView.DrawSubItem event.

The DrawListViewSubItemEventArgs type exposes the following members.

  NameDescription
Public method DrawListViewSubItemEventArgs Initializes a new instance of the DrawListViewSubItemEventArgs class.
Top

  NameDescription
Public method DrawBackground Draws the background of the ListViewItem.ListViewSubItem using its current background color.
Public method DrawFocusRectangle Draws a focus rectangle for the ListViewItem.ListViewSubItem if the parent ListViewItem has focus.
Public method DrawText Overloaded. Draws the text of the ListViewItem.ListViewSubItem using its current foreground color and the default formatting.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Bounds Gets the size and location of the ListViewItem.ListViewSubItem to draw.
Public property ColumnIndex Gets the index of the ListView column in which the ListViewItem.ListViewSubItem is displayed.
Public property DrawDefault Gets or sets a value indicating whether the ListViewItem.ListViewSubItem should be drawn by the operating system instead of owner-drawn.
Public property Graphics Gets the Graphics used to draw the ListViewItem.ListViewSubItem.
Public property Header Gets the header of the ListView column in which the ListViewItem.ListViewSubItem is displayed.
Public property Item Gets the parent ListViewItem of the ListViewItem.ListViewSubItem to draw.
Public property ItemIndex Gets the index of the parent ListViewItem of the ListViewItem.ListViewSubItem to draw.
Public property ItemState Gets the current state of the parent ListViewItem of the ListViewItem.ListViewSubItem to draw.
Public property SubItem Gets the ListViewItem.ListViewSubItem to draw.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft