WorkspaceManager.RestoreLayout(Control, Stream) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll


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


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.


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

See Also