Skip to main content
A newer version of this page is available. .

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

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