Skip to main content
A newer version of this page is available. .

RepositoryItemCheckedComboBoxEdit.DropDownRows Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(7)]
[SmartTagProperty("Drop Down Rows", "")]
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