Skip to main content

RepositoryItemComboBox.DropDownItemHeight Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.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