Skip to main content

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

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public bool RibbonAutoHideMode { get; set; }

Property Value

Type Description
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