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

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
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.

See Also