Skip to main content
A newer version of this page is available.

WorkspaceManager.SaveLayout(Control, Stream) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static void SaveLayout(
    Control targetControl,
    Stream 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