Skip to main content

BaseLayoutItem.AllowRename Property

Allows you to prevent an item’s caption from being renamed when the DockLayoutManager.AllowLayoutItemRename option is enabled. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public bool AllowRename { get; set; }

Property Value

Type Description
Boolean

true if the item’s caption can be renamed; otherwise, false.

Remarks

To enable item renaming, use the DockLayoutManager.AllowLayoutItemRename option. The AllowRename property can be used to prevent a specific item from being renamed, when the DockLayoutManager.AllowLayoutItemRename option is set to true. The AllowRename property is ignored if the DockLayoutManager.AllowLayoutItemRename option is set to false.

See Also