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.v20.1.dll


public int MinColCount { get; set; }
Public Property MinColCount As Integer

Property Value

Type Description

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


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.

See Also