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

DataControlBase.RestoreLayoutFromStream(Stream) Method

Restores a control’s layout from the specified stream.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public void RestoreLayoutFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant that stores the a control’s layout.

Remarks

To save a control’s layout to a stream, use the DataControlBase.SaveLayoutToStream method.

Note

Detail grids aren’t automatically serialized when saving the master grid’s layout. To learn more, see Master-Detail Mode Limitations.

To learn more, see Saving and Restoring Layout.

See Also