Skip to main content

Palette.SaveToXml(Stream) Method

Saves the palette to the specified stream.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void SaveToXml(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream that specifies the stream to which the palette should be saved.

Remarks

To save a palette to an XML file, use another overload of the Palette.SaveToXml method that takes a string filePath parameter.

To load a palette from a file or stream, use the Palette.LoadFromXml method.

See Also