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

DockLayoutManager.Rename(BaseLayoutItem) Method

Starts item renaming.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.1.dll


public bool Rename(
    BaseLayoutItem item
Public Function Rename(
    item As BaseLayoutItem
) As Boolean


Name Type Description
item BaseLayoutItem

A BaseLayoutItem to be renamed.


Type Description

true if item renaming has been initiated; otherwise, false.


The Rename method opens a text box allowing an end-user to rename the specified item's caption. The method is in effect if item renaming is enabled. See the DockLayoutManager.AllowLayoutItemRename and DockLayoutManager.AllowDockItemRename options.

It's possible to prevent a specific item from being renamed via the BaseLayoutItem.AllowRename property.

See Also