RibbonControl.Minimized Property

Gets or sets whether the ribbon is minimized.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(false)]
[Browsable(false)]
[XtraSerializableProperty]
public virtual bool Minimized { get; set; }
<DefaultValue(False)>
<Browsable(False)>
<XtraSerializableProperty>
Public Overridable Property Minimized As Boolean

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.

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.

See Also