Skip to main content

RepositoryItemLookUpEdit.DropDownItemHeight Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

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

Property Value

Type Default Description
Int32 0

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:

LookupEdit_DropDownItemHeight30

See Also