Skip to main content

IDockController.Restore(BaseLayoutItem) Method

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

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

bool Restore(
    BaseLayoutItem item
)

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 has no information on its previous dock position, the panel is docked at the bottom.

You can access closed (hidden) panels with the DockLayoutManager.ClosedPanels collection.

See Also