Skip to main content

RibbonControl.Minimized Property

Gets or sets whether the ribbon is minimized.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool Minimized { get; set; }

Property Value

Type Default Description
Boolean false

true if the Ribbon Control is minimized; otherwise, false.

Remarks

Set the Minimized property to true to collapse the ribbon up to page headers.

image

Tip

In the Office2019 style, the CommandLayout property allows you to narrow the command layout upto a single line.

End-User Capabilities

To show/hide the ribbon use:

  • Double click on a page header - collapses/restores the ribbon;

  • Single click a page header - restores the ribbon, displaying it over the form content/collapses the ribbon;

  • Context menu - ensure the AllowMinimizeRibbon property is set to true;

  • Collapse button - ensure the ShowExpandCollapseButton option is enabled.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Minimized 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.

See Also