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

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

NuGet Package: DevExpress.Win.Navigation

#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