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