Back to Devexpress

BaseGallery.RowCount Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-481a4556.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(3)]
[DXCategory("Behavior")]
public int RowCount { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(3)>
Public Property RowCount As Integer

Property Value

TypeDefaultDescription
Int323

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

ColumnCount

SizeMode

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace