Back to Devexpress

BarOptions.DisableCustomization Property

windowsforms-devexpress-dot-xtrabars-dot-baroptions-f1f4de5c.md

latest2.3 KB
Original Source

BarOptions.DisableCustomization Property

Gets or sets whether the bar can be customized using drag-and-drop operations.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool DisableCustomization { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(False)>
Public Overridable Property DisableCustomization As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if customization of bar links is disabled; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DisableCustomization
Bar

.OptionsBar .DisableCustomization

|

Remarks

If the DisableCustomization property is set to false , the end-user can perform drag-and-drop operations on links to add them to or delete them from the bar. Links can be dragged while holding the ALT key. Combining the ALT and CTRL key allows you to copy links while dragging. Links can also be dragged when the Customization Window is visible.

To disable customization using drag-and-drop, set the DisableCustomization property to true.

The Customization Window is available if the BarManager.AllowCustomization property is set to true.

See Also

AllowCustomization

AllowQuickCustomization

BarOptions Class

BarOptions Members

DevExpress.XtraBars Namespace