RibbonGroup.IsCollapsed Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top