RepositoryItemCheckedComboBoxEdit.MeasureListBoxItem Event
Provides the capability to change the height of an individual item.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The MeasureListBoxItem event's data class is MeasureItemEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Graphics | Gets the Graphics object to measure against. |
Index | Gets the index of the item for which the height and width is needed. |
ItemHeight | Gets or sets the height of the item specified by the Index. |
ItemWidth | Gets or sets the width of the item specified by the Index. |
Remarks
You can handle the MeasureListBoxItem event to specify custom heights for list box items displayed within the dropdown list box control. This event fires before an item is drawn.