Palette.SaveToXml(Stream) Method

Saves the palette to the specified stream.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll


public void SaveToXml(
    Stream stream
Public Sub SaveToXml(
    stream As Stream


Name Type Description
stream Stream

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


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