Back to Devexpress

RepositoryItemLookUpEdit.DropDownItemHeight Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemlookupedit-6a79d319.md

latest1.9 KB
Original Source

RepositoryItemLookUpEdit.DropDownItemHeight Property

Gets or sets the height of a row in the dropdown (in pixels).

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 a single row.

|

Remarks

The DropDownItemHeight property controls the height of rows in the dropdown window. If the property value is 0 , the row height is calculated automatically to fit the text and images (if any).

Otherwise, DropDownItemHeight overrides the automatically calculated row height.

The image below shows a lookup editor with the DropDownItemHeight property set to 30:

See Also

Appearance

RepositoryItemLookUpEdit Class

RepositoryItemLookUpEdit Members

DevExpress.XtraEditors.Repository Namespace