DrawListViewSubItemEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DrawListViewSubItemEventArgs class.
public:
DrawListViewSubItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle bounds, System::Windows::Forms::ListViewItem ^ item, System::Windows::Forms::ListViewItem::ListViewSubItem ^ subItem, int itemIndex, int columnIndex, System::Windows::Forms::ColumnHeader ^ header, System::Windows::Forms::ListViewItemStates itemState);
public DrawListViewSubItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Windows.Forms.ListViewItem item, System.Windows.Forms.ListViewItem.ListViewSubItem subItem, int itemIndex, int columnIndex, System.Windows.Forms.ColumnHeader header, System.Windows.Forms.ListViewItemStates itemState);
public DrawListViewSubItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Windows.Forms.ListViewItem? item, System.Windows.Forms.ListViewItem.ListViewSubItem? subItem, int itemIndex, int columnIndex, System.Windows.Forms.ColumnHeader? header, System.Windows.Forms.ListViewItemStates itemState);
new System.Windows.Forms.DrawListViewSubItemEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ListViewItem * System.Windows.Forms.ListViewItem.ListViewSubItem * int * int * System.Windows.Forms.ColumnHeader * System.Windows.Forms.ListViewItemStates -> System.Windows.Forms.DrawListViewSubItemEventArgs
Public Sub New (graphics As Graphics, bounds As Rectangle, item As ListViewItem, subItem As ListViewItem.ListViewSubItem, itemIndex As Integer, columnIndex As Integer, header As ColumnHeader, itemState As ListViewItemStates)
Parameters
- item
- ListViewItem
The ListViewItem parent of the ListViewItem.ListViewSubItem to draw.
- subItem
- ListViewItem.ListViewSubItem
The ListViewItem.ListViewSubItem to draw.
- itemIndex
- Int32
The index of the parent ListViewItem within the Items collection.
- columnIndex
- Int32
The index of the ListViewItem.ListViewSubItem column within the Columns collection.
- header
- ColumnHeader
The ColumnHeader for the column in which the ListViewItem.ListViewSubItem is displayed.
- itemState
- ListViewItemStates
A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem parent of the ListViewItem.ListViewSubItem to draw.
Applies to
.NET