RepositoryItemComboBox.DropDownItemHeight Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(0)]
public int DropDownItemHeight { get; set; }
<DXCategory("Behavior")>
<DefaultValue(0)>
Public Property DropDownItemHeight As Integer

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