Skip to main content

RibbonControl.Minimized Property

Gets or sets whether the ribbon is minimized.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v26.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.)

See Also