Export (0) Print
Expand All

DrawListViewColumnHeaderEventArgs.DrawListViewColumnHeaderEventArgs Constructor

Initializes a new instance of the DrawListViewColumnHeaderEventArgs class.

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

public DrawListViewColumnHeaderEventArgs (
	Graphics graphics,
	Rectangle bounds,
	int columnIndex,
	ColumnHeader header,
	ListViewItemStates state,
	Color foreColor,
	Color backColor,
	Font font
)
public DrawListViewColumnHeaderEventArgs (
	Graphics graphics, 
	Rectangle bounds, 
	int columnIndex, 
	ColumnHeader header, 
	ListViewItemStates state, 
	Color foreColor, 
	Color backColor, 
	Font font
)
public function DrawListViewColumnHeaderEventArgs (
	graphics : Graphics, 
	bounds : Rectangle, 
	columnIndex : int, 
	header : ColumnHeader, 
	state : ListViewItemStates, 
	foreColor : Color, 
	backColor : Color, 
	font : Font
)
Not applicable.

Parameters

graphics

The Graphics surface on which to draw.

bounds

The Rectangle within which to draw.

columnIndex

The index of the header's column within the ListView.Columns collection.

header

The ColumnHeader representing the header to draw.

state

A bitwise combination of ListViewItemStates values indicating the current state of the column header.

foreColor

The foreground Color of the header.

backColor

The background Color of the header.

font

The Font used for the header text.

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

Community Additions

ADD
Show:
© 2014 Microsoft