Skip to main content

RibbonControl.Minimized Property

Gets or sets whether the ribbon is minimized.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v25.1.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, showing only the page headers.

image

Tip

In the Office2019 style, the CommandLayout property allows you to collapse the command layout into a single-line layout.

End-User Capabilities

You can do the following to show/hide the ribbon:

  • Double click a page header to collapse/restore the ribbon.

  • Click a page header to restore the ribbon (which displays it over the form content) or to collapse the ribbon.

  • Click the corresponding command in the context menu. (Ensure that the AllowMinimizeRibbon property is set to true.)

  • Click the Collapse button. (Ensure that 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