Ribbon.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 or sets a value that indicates whether the Ribbon is collapsed.

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

member IsCollapsed : bool with get, set

Property Value

Type: System.Boolean

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

The ribbon collapses automatically when the application window is resized and does not have enough space to display the ribbon in a meaningful way. When the ribbon is collapsed, all ribbon elements are hidden from view.

When the ribbon is collapsed, the Collapsed event occurs. When the ribbon is expanded, the Expanded event occurs.

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top