Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockControllerBase.Restore(BaseLayoutItem) Method

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

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public 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 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.

See Also