Methods | Fields | This Package | All Packages

DrawItemEvent Class

Provides data for the drawItem event of a ComboBox, ListBox, StatusBar, TabStrip, or TabControl control.

Event
  |
  +--DrawItemEvent

package com.ms.wfc.ui

public class DrawItemEvent
extends
Event

Remarks

The drawItem event occurs when a visual aspect of an owner-drawn combo box changes. A DrawItemEvent object specifies whether the drawing takes place in a combo box, whether the item to draw has the focus, and whether the item to draw is selected. This event also provides the Graphics object to use to draw the item, the Rectangle object in which to draw the item, and the item index.

For information about the WFC event model, see Handling Events in WFC.

See Also   DrawItemState