Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DrawListViewItemEventArgs Constructor (Graphics, ListViewItem, Rectangle, Int32, ListViewItemStates)

 

Initializes a new instance of the DrawListViewItemEventArgs class.

Namespace:   System.Windows.Forms
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
Return to top
Show:
© 2017 Microsoft