Back to Devexpress

DockPanel.Restore() Method

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-28f8bc35.md

latest1.8 KB
Original Source

DockPanel.Restore() Method

Restores the panel to its previous docking position.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void Restore()
vb
Public Overridable Sub Restore

Remarks

The Restore method allows a panel which is hidden, auto hidden or floated to be restored to its previous docking position.

An end-user can restore a floating panel’s position by double-clicking its caption. When a DocumentManager is placed to the form where the DockManager resides, double-clicking a floating panel’s caption maximizes the panel to take up the entire desktop.

Note

Although the Restore method affects a panel’s DockPanel.Visibility, it does not fire the VisibilityChanged event.

See Also

Visibility

DockPanel.VisibilityChanged

DockManager.VisibilityChanged

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace