Edit this page

Save and Load Layout

RadLinearGauge supports Save/Load layout functionality which gives you the opportunity to preserve gauge elements' settings and restore them later. The layout settings are written in XML file. You can save the layout at design or at run time.

Design Time

You can easily save/load the layout with the smart tag.

Figure 1: Smart Tag

lineargauge-save-and-load-layout 001

Run Time

You can save/load the layout in code as well.

Save/Load Layout

radLinearGauge1.SaveLayout("Layout.xml");
radLinearGauge1.LoadLayout("Layout.xml");

radLinearGauge1.SaveLayout("Layout.xml")
radLinearGauge1.LoadLayout("Layout.xml")

See Also