Getting this runtime error when I am doing Serialization to copy the dragged UserControl onto canvas:
"Cannot serialize a non-public type 'System.Activities.Presentation.Internal.PropertyEditing.PropertyInspector'...
Exception thrown at:
string xamlString = XamlWriter.Save(draggedElement.Content);
[Main purpose.. was trying to copy the UserControl on dropping onto canvas .. so that the bindings works as it is before and after Dropping]