IBaseViewController.ResetLayout() Method
Resets the DocumentManager’s layout to the default state.
Namespace: DevExpress.XtraBars.Docking2010.Views
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Remarks
The ResetLayout method performs different actions in different DocumentManager Views.
-
Fires the BaseView.LayoutResetting event. Arranges all documents in a new single group, and clears old groups (if any). Fires the BaseView.LayoutReset event.
-
Fires the BaseView.LayoutResetting and then the BaseView.LayoutReset event.
-
Fires the BaseView.LayoutResetting event. Cascades all documents (see INativeMdiViewController.Cascade). Fires the BaseView.LayoutReset event.
End-users can reset a layout at runtime if you use a BarDockingMenuItem (ensure the BaseView.AllowResetLayout property is not set to False):