windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-2e12981a.md
Gets or sets whether the button allowing an end-user to switch between the regular, minimized and full-screen ribbon modes is displayed in the form title bar. This property is in effect for the RibbonControl embedded into the RibbonForm, and displayed using the Office2013 style.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean ShowDisplayOptionsMenuButton { get; set; }
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property ShowDisplayOptionsMenuButton As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
True or Default , if the button is displayed; otherwise, False.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
The RibbonControl in the Office2013 style, when embedded into the RibbonForm, can be displayed in one of three modes:
The ShowDisplayOptionsMenuButton property specifies whether the button that allows an end-user to switch these modes is displayed in the form title bar. A click on this button invokes the dropdown window that allows an end-user to select the required mode. See the figure below.
By default, the dropdown window width is set to a value that allows all menu items to be displayed in their entirety. The RibbonControl.OptionsMenuMinWidth property allows you to set the dropdown window width to any custom value.
To switch between the Show Tabs and Show Tabs and Commands mode in code, use the RibbonControl.Minimized property.
To switch between the regular and full-screen modes in code, use the RibbonControl.FullScreen property. Changing the RibbonControl.FullScreen property at run time raises the RibbonControl.ScreenModeChanged event.
See Also
ShowDisplayOptionsMenuButton