Back to Devexpress

RibbonControl.ShowMoreCommandsButton Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-cf4a69c6.md

latest2.8 KB
Original Source

RibbonControl.ShowMoreCommandsButton Property

Gets or sets whether to show the button that invokes a drop-down list of commands that are not visible in the ribbon due to insufficient space.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean ShowMoreCommandsButton { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property ShowMoreCommandsButton As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True or Default if the button is visible; otherwise, False.

|

Available values:

NameDescriptionReturn 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

|

Remarks

When the Office 2019 style (see RibbonControl.RibbonStyle) is applied, and the ribbon is collapsed (see RibbonControl.Minimized, RibbonControl.ShowExpandCollapseButton), the ribbon can display the More Commands button. The latter allows users to get access to ribbon commands that are not shown in the ribbon due to insufficient space. When all commands are shown, the button automatically hides.

Set the ShowMoreCommandsButton property to False to prevent the button from being shown.

See Also

RibbonStyle

Minimized

ShowExpandCollapseButton

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace