Skip to main content
Bar

Gallery.MinColCount Property

Gets or sets the minimum number of visible columns allowed in the gallery. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public int MinColCount { get; set; }

Property Value

Type Description
Int32

An integer which specifies the minimum number of columns allowed in the gallery

Remarks

Reducing the size of a RibbonControl reduces the widths of galleries that are displayed within the control. When a gallery’s width is reduced, gallery items may wrap at the gallery’s right edge. The MinColCount property specifies the minimum number of columns allowed to be displayed within the gallery at one time. If the gallery’s width is insufficient to display this number of columns, the gallery is collapsed and gallery items can then only be accessed by clicking the gallery’s dropdown button.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MinColCount 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