Bar

BarManager.SaveLayoutToStream(Stream) Method

Saves the layout of bars to a stream.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public virtual void SaveLayoutToStream(
    Stream stream
)
Public Overridable Sub SaveLayoutToStream(
    stream As 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