Skip to main content
Bar

Gallery.RowCount Property

Gets or sets the initial number of visible rows of gallery items in the current dropdown gallery when this gallery is invoked. This property is in effect for dropdown galleries. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public int RowCount { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the initial number of visible rows of gallery items in the current dropdown gallery, when this gallery is invoked

Remarks

This property is in effect when the current gallery is a dropdown gallery. It specifies the initial number of visible rows, when the gallery is opened. After the gallery is opened, an end-user can resize the gallery vertically, changing the number of visible rows. See Gallery.SizeMode to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also