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

RepositoryItemCheckedComboBoxEdit.DropDownRows Property

Gets or sets the number of visible items in the dropdown window.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(13)]
[DXCategory("Behavior")]
public int DropDownRows { get; set; }

#Property Value

Type Default Description
Int32 13

An integer that specifies the number of visible items in the dropdown window.

#Remarks

The DropDownRows property indirectly controls the height of the dropdown window. If the total number of items is greater than the DropDownRows property’s value, a scroll bar will appear to scroll the dropdown window.

If the total number of items is smaller than the DropDownRows value, the dropdown window is shrunk to fit all items.

If an end-user has resized the dropdown vertically, this new height is applied the next time the dropdown is shown. The DropDownRows property is ignored in this case until you forcibly set a value to it.

Note

If the RepositoryItemPopupBase.PopupFormSize property is set to a non-default value, the DropDownRows property is ignored.

See Also