Back to Devexpress

RibbonControl.AllowMinimizeRibbonOnDoubleClick Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-d4b48f38.md

latest2.4 KB
Original Source

RibbonControl.AllowMinimizeRibbonOnDoubleClick Property

Gets or sets whether the user can minimize the Ribbon by double-clicking a page header.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowMinimizeRibbonOnDoubleClick { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowMinimizeRibbonOnDoubleClick As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the user can minimize the Ribbon on a double click; otherwise, false.

|

Remarks

A user can minimize the Ribbon as follows:

  • Use the Minimize the Ribbon context menu command.
  • Click the Minimize the Ribbon button at the bottom right.
  • Press the Ctrl+F1 shortcut.
  • Double-click a page header.

Disable the AllowMinimizeRibbonOnDoubleClick property to prevent the user from minimizing the Ribbon by double-clicking the page header.

Note

Users can minimize the Ribbon if the AllowMinimizeRibbon option is enabled.

The following image shows the Ribbon in its minimized state (only page headers are displayed):

See Also

Minimized

AllowMinimizeRibbon

ShowMoreCommandsButton

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace