WorkspaceManager.RestoreLayout(Control, String) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll


public static void RestoreLayout(
    Control targetControl,
    string path
Public Shared Sub RestoreLayout(
    targetControl As Control,
    path As String


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.


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

See Also