DockManagerSettings.ClientLayout Property
Enables you to save and restore the previously saved layout of panels and zones managed by the DockManager.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public ASPxClientLayoutHandler ClientLayout { get; set; }
#Property Value
Type | Description |
---|---|
ASPx |
A ASPx |
#Remarks
Use the ClientLayout property to save and restore the layout from a data store.
Save Layout
The event parameter’s ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Saving. The ASPxClientLayoutArgs.LayoutData property contains the Docking’s current layout that should be saved, for example, to a database.
Restore Layout
The ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Loading. Read the Docking’s layout data from a data store and assign it to the ASPxClientLayoutArgs.LayoutData property.
Note
To obtain full information about all Dock