Back to Devexpress

RepositoryItemComboBox.DropDownCustomDrawItem Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcombobox-e565123d.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the DrawItem event instead.")]
public event ListBoxDrawItemEventHandler DropDownCustomDrawItem
vb
<EditorBrowsable(EditorBrowsableState.Never)>
<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:

PropertyDescription
AllowDrawSkinBackgroundGets or sets whether the item background is colored according to the currently applied skin.
AppearanceGets the appearance settings used to paint the item currently being processed.
BoundsGets the bounding rectangle of the item being painted.
IndexGets the index of the item being painted.
ItemGets the value of the processed item.
PaintArgs
StateGets the state of the item being painted.

See Also

DrawItem

RepositoryItemComboBox Class

RepositoryItemComboBox Members

DevExpress.XtraEditors.Repository Namespace