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.v20.1.dll


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

Property Value

Type Description

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


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