RepositoryItemComboBox.DropDownCustomDrawItem Event

Obsolete. Occurs when drawing an item in the dropdown list.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
[Obsolete("Use the DrawItem event instead.")]
public event ListBoxDrawItemEventHandler DropDownCustomDrawItem
<Browsable(False)>
<Obsolete("Use the DrawItem event instead.")>
Public Event DropDownCustomDrawItem As ListBoxDrawItemEventHandler

Event Data

The DropDownCustomDrawItem event's data class is ListBoxDrawItemEventArgs. The following properties provide information specific to this event:

Property Description
AllowDrawSkinBackground Gets or sets whether the item background is colored according to the currently applied skin.
Appearance Gets the appearance settings used to paint the item currently being processed.
Bounds Gets the bounding rectangle of the item being painted.
Cache Gets an object which specifies the storage for the most used pens, fonts and brushes.
Graphics Gets an object used to paint an item.
Handled Gets or sets a value specifying whether default painting is required.
Index Gets the index of the item being painted.
Item Gets the value of the processed item.
State Gets the state of the item being painted.
See Also