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.OnMeasureItem Event

In This Article

Occurs every time users access listbox item height.

#Declaration

Delphi
property OnMeasureItem: TdxBarMeasureItemEvent read; write;

#Remarks

Write an OnMeasureItem event handler to specify the height, in pixels, required to draw an item in a dropdown list window. Different listbox items may have different heights. The event handler can set the AHeight parameter to the height of the proper listbox item. The AIndex parameter, passed by the OnMeasureItem, determines the listbox item index in the array, specified by the Items property. The event handler sets the proper listbox item height in the AHeight parameter.

See Also