Skip to main content
A newer version of this page is available. .

LayoutControl.RestoreDefaultLayout() Method

Restores the layout that has been saved using the LayoutControl.SetDefaultLayout method.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void RestoreDefaultLayout()

Remarks

If the LayoutControl.SetDefaultLayout method hasn’t been called the RestoreDefaultLayout method will do nothing.

The LayoutControl.DefaultLayoutLoading and LayoutControl.DefaultLayoutLoaded events fire before and after the default layout is loaded.

See Also