A newer version of this page is available. Switch to the current version.

ThemedWindow.RestoreLayoutFromStream(Stream) Method

Restores the layout of the themed window from a stream.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll


public void RestoreLayoutFromStream(
    Stream stream


Name Type Description
stream Stream

A stream from which the layout of the themed window is restored.


ThemedWindow can save and restore its size, position, and WindowState properties. You can set the dx:DXSerializer.Enabled attached property for ThemedWindow to True and serialize its properties using WorkspaceManager or LayoutSerializationService.

<dx:ThemedWindow dx:DXSerializer.Enabled="True">

ThemedWindow provides the following methods that can save and restore the control’s properties directly:

See Also