Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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 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