DrawItemEvent.DrawItemEvent

Overview | Methods | Fields | This Package | All Packages

DrawItemEvent.DrawItemEvent

Creates a DrawItemEvent object.

Syntax

public DrawItemEvent( Graphics graphics, Rectangle rect, int index, int state )

Parameters

graphics

The Graphics object used to draw the item.

rect

The Rectangle object that represents the rectangle in which the item will be drawn.

index

The zero-based index of the item.

state

An integer that includes state information, such as whether the item is selected, whether the item has the focus, and whether the item is drawn in the edit control of an owner-drawn combo box.