Skip to main content

ASPxGaugeControl.SaveLayoutToXml(String) Method

Saves the ASPxGaugeControl’s current layout to a file in XML format.

Namespace: DevExpress.Web.ASPxGauges

Assembly: DevExpress.Web.ASPxGauges.v24.2.dll

NuGet Package: DevExpress.Web.Visualization

#Declaration

public virtual void SaveLayoutToXml(
    string xmlFile
)

#Parameters

Name Type Description
xmlFile String

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

#Remarks

Layout settings, saved using the SaveLayoutToXml method, can then be loaded using the ASPxGaugeControl.RestoreLayoutFromXml method.

#Implements

DevExpress.XtraGauges.Base.IGaugeContainer.SaveLayoutToXml(String)
See Also