Back to Devexpress

BarManager.SaveLayoutToStream(Stream) Method

wpf-devexpress-dot-xpf-dot-bars-dot-barmanager-dot-savelayouttostream-x28-system-dot-io-dot-stream-x29.md

latest1.9 KB
Original Source

BarManager.SaveLayoutToStream(Stream) Method

Saves the layout of bars to a stream.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public virtual void SaveLayoutToStream(
    Stream stream
)
vb
Public Overridable 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 BarManager.RestoreLayoutFromStream method.

Note

For the layout of bars to be saved, set the DevExpress.Xpf.Core.Serialization.DXSerializer.DXSerializer.SerializationID attached property for a BarManager to any object (for example, a string).

See Also

RestoreLayoutFromStream(Stream)

RestoreLayoutFromXml(String)

SaveLayoutToXml(String)

Saving and Restoring a Bar Layout

BarManager Class

BarManager Members

DevExpress.Xpf.Bars Namespace