GaugeControlBase.SaveStyleToXml(String) Method

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

Namespace: DevExpress.XtraGauges.Win

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


public void SaveStyleToXml(
    string path
Public Sub SaveStyleToXml(
    path As String


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