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

ASPxGaugeControl.RestoreLayoutFromXml(String) Method

Restores the layout from the specified XML file.

Namespace: DevExpress.Web.ASPxGauges

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

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