Skip to main content

InRibbonGallery.MinimumColumnCount Property

Gets or sets the minimum number of columns allowed in the InRibbonGallery.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(1)]
[DXCategory("Behavior")]
public int MinimumColumnCount { get; set; }

Property Value

Type Default Description
Int32 1

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

Remarks

Reducing the size of a Ribbon Control 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 MinimumColumnCount 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