RibbonGroup.IsCollapsed Property

.NET Framework 4.6 and 4.5

Gets a value that indicates whether the ribbon group is collapsed.

Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public bool IsCollapsed { get; internal set; }

Property Value

Type: System.Boolean
true if the group is collapsed; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field

IsCollapsedProperty

Metadata properties set to true

None

In the collapsed state, a ribbon group looks and behaves like a menu button.

The following illustration shows a ribbon with the Clipboard, Paragraph, and Insert groups in their collapsed state. When a group is collapsed into a menu button, its largest size variation is shown when the drop-down is opened.

Ribbon with collapsed groups

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft