Save and Load Layout
Save/Load layout functionality gives your application the opportunity to preserve RadDiagram's shapes and restore them later. The whole shapes' data is written in a XML file.
Here is a sample demonstrating how you can save the layout to a file:
Save Layout
Save Layout
You can use the RadDiagram.Save method in case you need just the string representation of the XML data.
Load Layout
Here is a sample demonstrating how you can load the layout from a file:
Load Layout
You can use the RadDiagram.Load method in order to load data from a string representation of the XML data.