Back to Devexpress

CheckedComboBoxEdit.DrawListBoxItem Event

windowsforms-devexpress-dot-xtraeditors-dot-checkedcomboboxedit-aee54ea2.md

latest2.3 KB
Original Source

CheckedComboBoxEdit.DrawListBoxItem Event

Occurs whenever this CheckedComboBoxEdit has to display a child list box item. Allows you to manually paint these items.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event ListBoxDrawItemEventHandler DrawListBoxItem
vb
<DXCategory("Events")>
Public Event DrawListBoxItem As ListBoxDrawItemEventHandler

Event Data

The DrawListBoxItem 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

CheckedComboBoxEdit Class

CheckedComboBoxEdit Members

DevExpress.XtraEditors Namespace