Initializes a new instance of the DrawListViewItemEventArgs class.
| C# | Visual Basic |
public DrawListViewItemEventArgs( Graphics graphics, ListViewItem item, Rectangle bounds, int itemIndex, ListViewItemStates state )
Public Sub New ( _ graphics As Graphics, _ item As ListViewItem, _ bounds As Rectangle, _ itemIndex As Integer, _ state As ListViewItemStates _ )
- item (ListViewItem)
- The ListViewItem to draw.
- bounds (Rectangle)
- The Rectangle within which to draw.
- itemIndex (Int32)
- The index of the ListViewItem within the Items collection.
- state (ListViewItemStates)
- A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem to draw.