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

GaugeControlBase.RestoreLayoutFromXml(String) Method

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

Namespace: DevExpress.XtraGauges.Win

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


public virtual void RestoreLayoutFromXml(
    string xmlFile


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.


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.

See Also