HypernovaDesktop Components · docs
Binarymission
WPF › Ribbon › BinaryRibbonControlSize

BinaryRibbonControlSize

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

How large a ribbon command is drawn, from a large picture with a caption beneath it down to nothing at all.

public enum BinaryRibbonControlSize

Remarks

A BinaryRibbonGroup sets each command's size through the attached BinaryRibbonBarPanel.SizeProperty as the window widens and narrows. To steer it, set BinaryRibbonBarPanel.MaxSizeProperty or BinaryRibbonBarPanel.MinSizeProperty on a command, or list its size at each step with BinaryRibbonBarPanel.ResizableSizeProperty ("Large,Medium,Small", or "L,M,S").

The values are ordered, smallest first: BinaryRibbonControlSize.Minimized is 0 and BinaryRibbonControlSize.Large is 3.

Members at a glance

Members
LargeThe large picture (32 x 32) with the caption beneath it, standing the full height of the ribbon. This is the default.
MediumThe small picture (16 x 16) with the caption beside it, three commands to a column.
MinimizedNot drawn on the ribbon. This is the size of the commands in a group that has folded into a single drop-down button; they are shown at their usual sizes when that drop-down opens.
SmallThe small picture alone, without its caption, three commands to a column.

Members

Large

The large picture (32 x 32) with the caption beneath it, standing the full height of the ribbon. This is the default.

Medium

The small picture (16 x 16) with the caption beside it, three commands to a column.

Minimized

Not drawn on the ribbon. This is the size of the commands in a group that has folded into a single drop-down button; they are shown at their usual sizes when that drop-down opens.

Small

The small picture alone, without its caption, three commands to a column.