GaugeControlBase.RestoreLayoutFromXml(String) Method

Restores the layout of gauges and their elements from a specific XML file

Namespace: DevExpress.XtraGauges.Win

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

Declaration

public virtual void RestoreLayoutFromXml(
    string xmlFile
)
Public Overridable Sub RestoreLayoutFromXml(
    xmlFile As String
)

Parameters

Name Type Description
xmlFile String

A string value specifying the path to the XML file that stores the layout. If the specified file doesn't exist, a FileNotFoundException type exception is raised.

Remarks

Use the RestoreLayoutFromXml method to load the layout of gauges and their elements previously saved to an XML file with the help of the GaugeControlBase.SaveLayoutToXml method.

Implements

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