A newer version of this page is available. Switch to the current version.

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; }
Public Property AllowRename As Boolean

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