Skip to main content

LayoutControl.RestoreDefaultLayout() Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public void RestoreDefaultLayout()


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