Back to Devexpress

RepositoryItemComboBox.DropDownItemHeight Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcombobox-e657f336.md

latest2.2 KB
Original Source

RepositoryItemComboBox.DropDownItemHeight Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Int320

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

Appearance

DrawItem

MeasureItem

RepositoryItemComboBox Class

RepositoryItemComboBox Members

DevExpress.XtraEditors.Repository Namespace