Skip to main content
A newer version of this page is available. .
Bar

BarOptions.AllowQuickCustomization Property

Gets or sets whether the bar provides the quick customization menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(true)]
public virtual bool AllowQuickCustomization { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the bar allows customization via a special menu.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowQuickCustomization
Bar
.OptionsBar.AllowQuickCustomization

Remarks

Each bar, by default, has a quick customization menu that allows the end-user to change the visibility of a bar’s buttons on the fly. This menu can be invoked via the Dropdown button displayed at the bar’s right edge.

The image below shows a quick customization menu invoked for an Image bar.

Bar_QuickCustomization.gif

Use the BarManager.AllowQuickCustomization property to specify whether quick customization menus are available for all bars belonging to this BarManager. If the menus are enabled, you can still disable the menu for an individual bar via the AllowQuickCustomization property. If the BarManager.AllowQuickCustomization is set to false, the menus are disabled regardless of the AllowQuickCustomization property’s value.

This menu will also contain the Customize… button, provided that the BarManager.AllowCustomization property is set to true. See this topic for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowQuickCustomization 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.

See Also