Skip to main content
A newer version of this page is available. .

GaugeControlBase.RestoreStyleFromXml(String) Method

Restores the style from the specified XML file.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v19.1.Win.dll


public void RestoreStyleFromXml(
    string path


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.


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