This documentation is archived and is not being maintained.

DrawListViewSubItemEventArgs.DrawListViewSubItemEventArgs Constructor

Initializes a new instance of the DrawListViewSubItemEventArgs class.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public DrawListViewSubItemEventArgs (
	Graphics graphics,
	Rectangle bounds,
	ListViewItem item,
	ListViewSubItem subItem,
	int itemIndex,
	int columnIndex,
	ColumnHeader header,
	ListViewItemStates itemState
)
public DrawListViewSubItemEventArgs (
	Graphics graphics, 
	Rectangle bounds, 
	ListViewItem item, 
	ListViewSubItem subItem, 
	int itemIndex, 
	int columnIndex, 
	ColumnHeader header, 
	ListViewItemStates itemState
)
public function DrawListViewSubItemEventArgs (
	graphics : Graphics, 
	bounds : Rectangle, 
	item : ListViewItem, 
	subItem : ListViewSubItem, 
	itemIndex : int, 
	columnIndex : int, 
	header : ColumnHeader, 
	itemState : ListViewItemStates
)
Not applicable.

Parameters

graphics

The Graphics surface on which to draw.

bounds

The Rectangle within which to draw.

item

The ListViewItem parent of the ListViewItem.ListViewSubItem to draw.

subItem

The ListViewItem.ListViewSubItem to draw.

itemIndex

The index of the parent ListViewItem within the ListView.Items collection.

columnIndex

The index of the ListViewItem.ListViewSubItem column within the ListView.Columns collection.

header

The ColumnHeader for the column in which the ListViewItem.ListViewSubItem is displayed.

itemState

A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem parent of the ListViewItem.ListViewSubItem to draw.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: