Back to Devexpress

IDockController.Restore(BaseLayoutItem) Method

wpf-devexpress-dot-xpf-dot-docking-dot-idockcontroller-dot-restore-x28-devexpress-dot-xpf-dot-docking-dot-baselayoutitem-x29.md

latest2.0 KB
Original Source

IDockController.Restore(BaseLayoutItem) Method

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

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
bool Restore(
    BaseLayoutItem item
)
vb
Function Restore(
    item As BaseLayoutItem
) As Boolean

Parameters

NameTypeDescription
itemBaseLayoutItem

A BaseLayoutItem object to be restored.

|

Returns

TypeDescription
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

ClosedPanels

AllowRestore

DockItemRestoring

DockItemRestored

IDockController Interface

IDockController Members

DevExpress.Xpf.Docking Namespace