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


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


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.


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

See Also