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


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


Name Type Description
targetControl Control

A Control whose layout is to be saved.

stream Stream

A Stream that should keep the control layout.


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

See Also