Hi Nadeem,
In our previous update, we have used the XamlWriter method to serialize(save) the LineConnector. Now, we have created a sample to represent the save and Load the LineConnector into Diagram. Please refer to the sample and video from the Attachment.
Sample Details:
In that sample, We have used the Custom class(named as “Custom Line”) for Serialization which holds the Details of the LineConnector(“selected LineConnector”). While Loading ,We have created similar LineConnector using desterilized Data. For Retrieving the IntermediatePoints of the LineConnector, we have used the Custom Class called(named as “ContentStatePersistence”).For getting the StartPointPosition and EndPointPosition of LineConnector ,we have used the ConnectorPathGeometry of the LineConnector.
Please let us know if you have any concerns.
Regards,
Ramya
CustomLineConnector_e00ebe2a.zip