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.
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