Skip to main content

BaseGallery.RowCount Property

Gets or sets the number of rows in a gallery when the gallery is displayed within a dropdown window.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(3)]
[DXCategory("Behavior")]
public int RowCount { get; set; }

Property Value

Type Default Description
Int32 3

An integer which specifies the number of rows when the gallery is displayed within a dropdown window.

Remarks

For a gallery displayed within a dropdown window, the number of rows and columns is specified by the RowCount and BaseGallery.ColumnCount properties respectively. If the dropdown sizing feature is enabled (see the InDropDownGallery.SizeMode property) an end-user can resize the dropdown, and as a result, change the number of visible rows/columns.

See Also