Skip to main content

DXRibbonWindow.DisplayShowModeSelector Property

Gets or sets whether the button that allows an end-user to select the ribbon show mode is displayed in the upper-right corner of the DXRibbonWindow. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.1.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public bool DisplayShowModeSelector { get; set; }

Property Value

Type Description
Boolean

true, if the button is displayed; otherwise, false.

Remarks

The RibbonControl can be displayed in the DXRibbonWindow in three alternative modes:

  • Normal Mode—the default mode. The ribbon is displayed in the regular, expanded state.
  • Minimized Mode—the ribbon is minimized, hiding the page contents. In this mode, only page headers are visible, and an end-user can click on a page header to display the page onscreen. This mode cannot be activated if the RibbonControl.AllowMinimizeRibbon property equals false.
  • Auto Hide Ribbon—the ribbon is automatically hidden on an outside click. The application window is forcibly maximized in this mode.

The DisplayShowModeSelector property specifies whether the button that allows an end-user to switch these modes is displayed in the upper-right corner of the DXRibbonWindow. A click on this button invokes the drop-down that allows an end-user to select the required mode. See the figure below.

DXRibbonWindow_DisplayShowModeSelector

The style of icons in the drop-down can be specified using the RibbonControl.MenuIconStyle property.

The RibbonControl can also display the Minimization button. Its visibility can be managed with the RibbonControl.MinimizationButtonVisibility property.

See Also