DrawListViewItemEventArgs 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 DrawListViewItemEventArgs class.
public:
DrawListViewItemEventArgs(System::Drawing::Graphics ^ graphics, System::Windows::Forms::ListViewItem ^ item, System::Drawing::Rectangle bounds, int itemIndex, System::Windows::Forms::ListViewItemStates state);
public DrawListViewItemEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.ListViewItem item, System.Drawing.Rectangle bounds, int itemIndex, System.Windows.Forms.ListViewItemStates state);
new System.Windows.Forms.DrawListViewItemEventArgs : System.Drawing.Graphics * System.Windows.Forms.ListViewItem * System.Drawing.Rectangle * int * System.Windows.Forms.ListViewItemStates -> System.Windows.Forms.DrawListViewItemEventArgs
Public Sub New (graphics As Graphics, item As ListViewItem, bounds As Rectangle, itemIndex As Integer, state As ListViewItemStates)
Parameters
- item
- ListViewItem
The ListViewItem 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.