Skip to main content

RepositoryItemCheckedComboBoxEdit.DropDownRows Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Int32 7

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