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.v20.1.dll

Declaration

public bool AllowRename { get; set; }
Public Property AllowRename As Boolean

Property Value

Type Description
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