Skip to main content

GaugeControlBase.RestoreStyleFromXml(String) Method

Restores the style from the specified XML file.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v24.2.Win.dll

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 GaugeControlBase.SaveStyleToXml method.

See Also