Back to Devexpress

BarOptions.AllowRename Property

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

latest2.2 KB
Original Source

BarOptions.AllowRename Property

Gets whether the bar can be renamed via the Customization Window at runtime.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if the bar can be renamed in the Customization Window at runtime; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowRename
Bar

.OptionsBar .AllowRename

|

Remarks

If the AllowRename property is set to true , the end-user is able to rename the bar in the Customization Window by pressing the Rename button.

Otherwise, the button will be disabled when the bar is selected.

Use the BarManager.AllowCustomization property to specify whether the Customization Window is available at runtime.

See Also

AllowCustomization

BarOptions Class

BarOptions Members

DevExpress.XtraBars Namespace