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

WorkspaceManager.RestoreLayout(Control, String) Method

Retrieves the stored layout version of the root control from a file.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static void RestoreLayout(
    Control targetControl,
    string path
)

Parameters

Name Type Description
targetControl Control

A root control (see the WorkspaceManager.TargetControl property) whose layout is to be loaded.

path String

A String value that is the path to a file that stores the control layout.

Remarks

The RestoreLayout method restores individual control layouts. To capture such a layout, call the WorkspaceManager.SaveLayout method.

See Also