System.Windows.Forms.DrawItemEventArgs Class

Provides data for the DrawItem event.

See Also: DrawItemEventArgs Members

Syntax

public class DrawItemEventArgs : EventArgs

Remarks

The DrawItem event is raised by owner draw controls, such as the System.Windows.Forms.ListBox and System.Windows.Forms.ComboBox controls. It contains all the information that is needed for the user to paint the specified item, including the item index, the System.Drawing.Rectangle, and the System.Drawing.Graphics on which the drawing should be done.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0