Skip to main content

ToolboxOptionsView.ShowMenuButton Property

Gets or sets whether the button that invokes a popup menu providing access to the ToolboxControl groups is displayed.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public bool ShowMenuButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the ToolboxControl displays the menu button; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowMenuButton
ToolboxControl
.OptionsView .ShowMenuButton

Remarks

The ShowMenuButton property specifies whether the ToolboxControl displays the menu button. This menu provides access to the ToolboxControl groups. If the menu button is displayed, you can use the ToolboxOptionsView.MenuButtonCaption and ToolboxOptionsView.MenuButtonImage properties to customize the button caption and icon. The ToolboxControl.InitializeMenu event fires before the menu is shown and allows you to customize the menu content.

The figure below shows the ToolboxControl displaying the menu button and the invoked menu.

ToolboxControl_MenuButton

See Also