HypernovaDesktop Components · docs
Binarymission
WPF › Ribbon › BinaryRibbonGalleryControlColumns

BinaryRibbonGalleryControlColumns

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

The column counts a BinaryRibbonGallery takes at each step as its group gives up width – the value of the attached BinaryRibbonGallery.RenderableGalleryColumnsProperty.

public class BinaryRibbonGalleryControlColumns : List<int>

Inherits from / implements: List<int>

Remarks

The first number is the column count while the group has all the room it wants, the next the count at the first step of shrinking, and so on; past the last number the last is kept. 0 collapses the gallery to a single button that opens its drop-down. In XAML it is written as a comma-separated list: "6,4,0".

Examples

BinaryRibbonGallery.SetRenderableGalleryColumns(stylesGallery, new BinaryRibbonGalleryControlColumns { 6, 4, 0 });

See also