Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomCombo.OnDrawItem Event

In This Article

Occurs when a dropdown listbox item is to be displayed.

#Declaration

Delphi
property OnDrawItem: TdxBarDrawItemEvent read; write;

#Remarks

Write an OnDrawItem event handler to draw items in a TdxBarCustomCombo dropdown list. An OnDrawItem event handler can add graphic elements to listbox items, or replace the text of the listbox item with graphics. OnDrawItem passes parameters to its event handler: AIndex specifies the index of the item in the Items array, ARect provides the coordinates for drawing, AState specifies item state.

See Also