Back to Devexpress

Bar.AllowRename Property

wpf-devexpress-dot-xpf-dot-bars-dot-bar-c3f9f0d0.md

latest1.9 KB
Original Source

Bar.AllowRename Property

Gets or sets whether a bar can be renamed via the Customization Window. 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 AllowRename { get; set; }
vb
Public Property AllowRename As Boolean

Property Value

TypeDescription
Boolean

true if a bar can be renamed via the Customization Window; otherwise, false.

|

Remarks

An end-user can rename a bar by clicking the Rename button within the Customization Window. If the AllowRename option is set to false for a specific bar, the Rename button will be disabled when this bar is selected within the Customization Window.

The bars that represent the Main Menu and Status Bar cannot be renamed, regardless of the AllowRename property.

See Also

IsMainMenu

IsStatusBar

Customization Window

Bar Class

Bar Members

DevExpress.Xpf.Bars Namespace