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

GaugeControlBase.SaveStyleToXml(String) Method

Saves the Gauge control’s current style to a file in XML format.

Namespace: DevExpress.XtraGauges.Win

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


public void SaveStyleToXml(
    string path


Name Type Description
path String

A String value that specifies the path to the file where the style should be stored. If an empty string is specified, an exception is raised.


Style settings, saved using the SaveStyleToXml method, can then be loaded using the GaugeControlBase.RestoreStyleFromXml method.

See Also