Skip to main content

ASPxGaugeControl.RestoreStyleFromXml(String) Method

Restores the style from the specified XML file.

Namespace: DevExpress.Web.ASPxGauges

Assembly: DevExpress.Web.ASPxGauges.v24.2.dll

NuGet Package: DevExpress.Web.Visualization

#Declaration

public void RestoreStyleFromXml(
    string path
)

#Parameters

Name Type Description
path String

A String value which specifies the path to the XML file that contains the style to be loaded. If the specified file doesn’t exist, an exception is raised.

#Remarks

Use the RestoreStyleFromXml method to load a style which has been saved to a file in the XML format using the ASPxGaugeControl.SaveStyleToXml method.

See Also