Skip to main content
Bar

BarManager.SaveLayoutToStream(Stream) Method

Saves the layout of bars to a stream.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public virtual void SaveLayoutToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

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