Skip to main content

GaugeControlBase.SaveStyleToXml(String) Method

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

Namespace: DevExpress.XtraGauges.Win

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

NuGet Package: DevExpress.Win.Gauges

Declaration

public void SaveStyleToXml(
    string path
)

Parameters

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.

Remarks

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

See Also