Back to Devexpress

DockLayoutManager.SaveLayoutToStream(Stream) Method

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-dot-savelayouttostream-x28-system-dot-io-dot-stream-x29.md

latest1.9 KB
Original Source

DockLayoutManager.SaveLayoutToStream(Stream) Method

Saves the layout of dock panes to a stream.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public void SaveLayoutToStream(
    Stream stream
)
vb
Public Sub SaveLayoutToStream(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A stream to which the layout is stored.

|

Remarks

The saved layout can be restored using the DockLayoutManager.RestoreLayoutFromStream method.

See Saving and Restoring the Layout of Dock Panels and Controls to learn more.

See Also

RestoreLayoutFromStream(Stream)

RestoreLayoutFromXml(String)

SaveLayoutToStream(Stream)

SaveLayoutToXml(String)

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace