Skip to main content

Palette.LoadFromXml(String) Method

Loads a palette from the specified XML file.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public void LoadFromXml(
    string path
)

#Parameters

Name Type Description
path String

A String that specifies the path to the file that contains a palette.

#Remarks

To load a palette from a stream, use another overload of the Palette.LoadFromXml method that takes a stream parameter.

To load a palette from the specified XML file, use the LoadFromXml method.

See Also