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

#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 that can be displayed within the gallery simultaneously. 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