DockControllerBase.Restore(BaseLayoutItem) Method

Restores a closed (hidden) panel at its previous dock position.

Namespace: DevExpress.Xpf.Docking

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

Declaration

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

Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem object to be restored.

Returns

Type Description
Boolean

A Boolean value that indicates that the panel has been restored successfully.

Remarks

If a panel doesn't have information on its previous dock position, the panel will be docked at the bottom.

All closed (hidden) panels can be accessed via the DockLayoutManager.ClosedPanels collection.

Implements

DevExpress.Xpf.Docking.IDockController.Restore(BaseLayoutItem)
See Also