Back to Devexpress

ToolBarControlBase.AllowCustomizationMenu Property

wpf-devexpress-dot-xpf-dot-bars-dot-toolbarcontrolbase-3eac18eb.md

latest2.9 KB
Original Source

ToolBarControlBase.AllowCustomizationMenu Property

Gets or sets whether the customization menu is enabled for the current tool bar. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AllowCustomizationMenu { get; set; }
vb
Public Property AllowCustomizationMenu As Boolean

Property Value

TypeDescription
Boolean

true, if the customization menu is enabled for the current tool bar; otherwise, false. The default is true.

|

Remarks

The AllowCustomizationMenu property specifies whether the customization menu for the current tool bar can be invoked with a right click. The figure below illustrates the customization menu.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowCustomizationMenu property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L52

xml
</dxe:ButtonEdit>
<dxb:MainMenuControl VerticalAlignment="Center" ShowBackground="False" Height="25" AllowCustomizationMenu="True">
    <dx:WpfSvgPalette.Palette>

wpf-spreadsheet-control-create-a-data-entry-form/CS/WpfDataEntryFormSample/MainWindow.xaml#L47

xml
<dxb:ToolBarControl Grid.Row="1" AllowCustomizationMenu="False" AllowQuickCustomization="False">
    <dxb:BarButtonItem

See Also

AllowQuickCustomization

ToolBarControlBase Class

ToolBarControlBase Members

DevExpress.Xpf.Bars Namespace