DrawListViewItemEventArgs Constructor (Graphics^, ListViewItem^, Rectangle, Int32, ListViewItemStates)
.NET Framework (current version)
Initializes a new instance of the DrawListViewItemEventArgs class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: DrawListViewItemEventArgs( Graphics^ graphics, ListViewItem^ item, Rectangle bounds, int itemIndex, ListViewItemStates state )
Parameters
- graphics
-
Type:
System.Drawing::Graphics^
The Graphics surface on which to draw.
- item
-
Type:
System.Windows.Forms::ListViewItem^
The ListViewItem to draw.
- bounds
-
Type:
System.Drawing::Rectangle
The Rectangle within which to draw.
- itemIndex
-
Type:
System::Int32
The index of the ListViewItem within the ListView::Items collection.
- state
-
Type:
System.Windows.Forms::ListViewItemStates
A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem to draw.
.NET Framework
Available since 2.0
Available since 2.0
Show: