Skip to main content

Palette.LoadFromXml(Stream) Method

Loads a palette from the specified stream.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void LoadFromXml(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object that is the stream containing a palette.

Remarks

To load a palette from an XML file, use another overload of the Palette.LoadFromXml method that takes a string filePath parameter.

To load a palette from a stream, use the LoadFromStream method.

See Also