if I save my "RadDiagram", I get a XML-File, which is ok. But is it possible to save the XML-file with line Feeds? We have to Import this
file in a Business Software, and if the string is just one line, it is impossible to read for us?
1 Answer, 1 is accepted
answered on 26 May 2014, 03:46 PM
You can parse the diagram xaml to XElement and then return the ToString() method of this object. The parsing will set each tag on you line. Here is an example in code:
var xml = // get diagram string
XElement doc = XElement.Parse(xml);
var beautifiedXaml = doc.ToString();
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.