Skip to main content

ASPxGaugeControl.RestoreLayoutFromXml(String) Method

Restores the layout from the specified XML file.

Namespace: DevExpress.Web.ASPxGauges

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

NuGet Package: DevExpress.Web.Visualization

Declaration

public virtual void RestoreLayoutFromXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String value which specifies the path to the XML file that contains the layout to be loaded. If the specified file doesn’t exist, an exception is raised.

Remarks

Use the RestoreLayoutFromXml method to load a layout which has been saved to a file in the XML format using the ASPxGaugeControl.SaveLayoutToXml method.

Implements

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