I have several PathGeometry-s which are showing line between places. I want to save these lines. I couldn’t serialize it to XML and don’t know how to store these lines. Is there any chance to do it ?
[EDIT] I have PathGeometry-s at code behind, not in XAML. When i try to use XMLWriter class to store these it gives exception “… classes couldn’t be restored because they dont be known as known types “
In case you have the PathGeometry already instantiated as an object you can try to use the XAMLWriter to serialize it MSDN
e.g.