Back to Devexpress

ToolboxOptionsView.ShowMenuButton Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxoptionsview-88472578.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool ShowMenuButton { get; set; }
vb
<DefaultValue(True)>
Public Property ShowMenuButton As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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 ToolboxOptionsView.MenuButtonCaption and ToolboxOptionsView.MenuButtonImageOptions 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.

See Also

OptionsView

MenuButtonCaption

MenuButtonImageOptions

ToolboxOptionsView Class

ToolboxOptionsView Members

DevExpress.XtraToolbox Namespace