The event handler receives an argument of type System.Windows.Forms.DrawListViewSubItemEventArgs containing data related to this event. The following DrawListViewSubItemEventArgs properties provide information specific to this event.
Property | Description |
---|
Bounds | Gets the size and location of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. |
ColumnIndex | Gets the index of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed. |
DrawDefault | Gets or sets a value indicating whether the System.Windows.Forms.ListViewItem.ListViewSubItem should be drawn by the operating system instead of owner-drawn. |
Graphics | Gets the System.Drawing.Graphics used to draw the System.Windows.Forms.ListViewItem.ListViewSubItem. |
Header | Gets the header of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed. |
Item | Gets the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. |
ItemIndex | Gets the index of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. |
ItemState | Gets the current state of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. |
SubItem | Gets the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. |