Skip to main content

RepositoryItemComboBox.DropDownCustomDrawItem Event

OBSOLETE

Use the DrawItem event instead.

Occurs when drawing an item in the dropdown list.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the DrawItem event instead.")]
public event ListBoxDrawItemEventHandler DropDownCustomDrawItem

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.
Index Gets the index of the item being painted.
Item Gets the value of the processed item.
PaintArgs
State Gets the state of the item being painted.
See Also