Back to Devexpress

DXRibbonWindow.RibbonAutoHideMode Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-dxribbonwindow-6a386fec.md

latest2.4 KB
Original Source

DXRibbonWindow.RibbonAutoHideMode Property

Gets or sets whether the RibbonControl integrated into the current DXRibbonWindow is automatically hidden on an outside click.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public bool RibbonAutoHideMode { get; set; }
vb
Public Property RibbonAutoHideMode As Boolean

Property Value

TypeDescription
Boolean

true, if the RibbonControl is automatically hidden on an outside click; otherwise, false. The default is false.

|

Remarks

By default, the RibbonControl is not automatically hidden when an end-user clicks outside the control. Set the RibbonAutoHideMode property to true to automatically hide the RibbonControl on an outside click. The application window is forcibly maximized in this mode. Changing the RibbonAutoHideMode property value at run time raises the RibbonControl.AutoHideModeChanged event.

You can also display the button that allows an end-user to switch the ribbon show modes in the upper-right corner of the DXRibbonWindow by setting the DXRibbonWindow.DisplayShowModeSelector property to true.

See Also

DisplayShowModeSelector

AutoHideMode

AutoHideModeChanged

DXRibbonWindow Class

DXRibbonWindow Members

DevExpress.Xpf.Ribbon Namespace