Back to Devexpress

DockControllerBase.Restore(BaseLayoutItem) Method

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

latest2.1 KB
Original Source

DockControllerBase.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
public bool Restore(
    BaseLayoutItem item
)
vb
Public 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 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

Restore(BaseLayoutItem)

See Also

ClosedPanels

AllowRestore

DockItemRestoring

DockItemRestored

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace