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

WorkspaceManager.RestoreLayout(Control, Stream) Method

Retrieves the stored layout version of the root control from a stream.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static void RestoreLayout(
    Control targetControl,
    Stream stream
)

Parameters

Name Type Description
targetControl Control

A root control (see the WorkspaceManager.TargetControl property) whose layout is to be loaded.

stream Stream

A Stream that keeps the control layout.

Remarks

The RestoreLayout method restores individual control layouts. To capture such a layout, call the WorkspaceManager.SaveLayout method.

See Also