Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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