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

RepositoryItemComboBox.DropDownItemHeight Property

Gets or sets the height of an item in the dropdown list.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(0)]
[DXCategory("Behavior")]
public int DropDownItemHeight { get; set; }

#Property Value

Type Default Description
Int32 0

The height of an item in the dropdown window, in pixels.

#Remarks

The DropDownItemHeight property allows you to specify the height of items in the dropdown window. By default, the property is set to 0 and the item’s height is determined by the current font settings (see the Font property of the RepositoryItem.Appearance object).

Changing the item’s height can be useful when custom drawing elements using the RepositoryItemComboBox.DrawItem event.

See Also