Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for silverlight (Read 2256 times)
fiary520
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Mar 19th, 2010
Diagramming for silverlight
Mar 19th, 2010 at 2:00am
Print Post  
I am using LoadFromString(String str) method to load diagram i saved by SaveToString(SaveToStringFormat.Xml) method.But I failed,the error is Arg_NullReferenceException.In addtion,I use custom item types but not the ShapeNode class.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagramming for silverlight
Reply #1 - Mar 19th, 2010 at 5:50am
Print Post  
Try calling Diagram.RegisterItemClass to register an XML name for the custom type, and also adding a constructor that takes a single Diagram argument for deserialization.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint