WorkspaceManager.SaveLayout(Control, String) Method

Saves the layout of one specific control to a target local storage location.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

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

Parameters

Name Type Description
targetControl Control

A Control whose layout is to be saved.

path String

A String value that is the path to a file that should keep the layout of a control.

Remarks

To apply this stored layout, call the WorkspaceManager.RestoreLayout method.

See Also