Edit this page

Save and Load Layout

RadRadialGauge 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

radialgauge-save-and-load-layout 001

Run Time

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

Save/Load Layout

private void SaveLoadLayout()
{
    this.radRadialGauge1.SaveLayout(@"..\..\gauge-layout.xml");
    this.radRadialGauge1.LoadLayout(@"..\..\gauge-layout.xml");
}

Private Sub SaveLoadLayout()
    Me.RadRadialGauge1.SaveLayout("..\..\gauge-layout.xml")
    Me.RadRadialGauge1.LoadLayout("..\..\gauge-layout.xml")
End Sub

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy