Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Cannot serialize a non-public type 'System.Activities.Presentation.Internal.PropertyEditing.PropertyInspector'.

$
0
0

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]



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>