RibbonControl.MinimizationButtonVisibility Property
Gets or sets the visibility of the Ribbon Control’s Minimize button.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
RibbonMinimizationButtonVisibility | A RibbonMinimizationButtonVisibility value that specifies the Minimize button’s visibility. |
Available values:
Name | Description |
---|---|
Auto | The Minimize button is visible in each Ribbon style except the Office 2007 style. |
Collapsed | The Minimize button is hidden in all Ribbon styles. |
Visible | The Minimize button is visible in all Ribbon styles. |
Remarks
The Minimize button allows an end-user to temporarily hide the contents of the Ribbon Control’s pages:
The action for Minimize button depends on ribbon layout mode.
In Simplified mode (RibbonControl.AllowSimplifiedRibbon is true), the Minimize button switches between Classic and Simplified ribbon layout; otherwise it minimizes/expands the contents of the Ribbon Control`s pages.
When the MinimizationButtonVisibility is Auto, the Minimize button is visible in each RibbonStyle except the Office 2007 style.
When the MinimizationButtonVisibility is Auto and the RibbonControl.AllowSimplifiedRibbon is True, the MinimizationButton is visible regardless of the current ribbon style.
Use the RibbonControl.IsMinimizationButtonVisible property to get the actual visibility state of the Minimize button.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MinimizationButtonVisibility property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.