WorkspaceManager.SaveLayout(Control, Stream) Method

Saves the layout of one specific control to a target stream.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public static void SaveLayout(
    Control targetControl,
    Stream stream
)
Public Shared Sub SaveLayout(
    targetControl As Control,
    stream As Stream
)

Parameters

Name Type Description
targetControl Control

A Control whose layout is to be saved.

stream Stream

A Stream that should keep the control layout.

Remarks

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

See Also