XAML in .Net 4.0: Serialization and Deserialization using XamlServices by Xaml control

Sun, 07 Jun 2009 00:03:34 -0700

XAML in .Net 4.0: Serialization and Deserialization using XamlServices

by Xaml control @ Sun, 07 Jun 2009 00:03:34 -0700



In order to deserialize an object graph from .xaml file, we can use XamlServices.Load method: using (TextReader reader = File.OpenText(bookFileName)). {. Book book = (Book)XamlServices.Load(reader);. Console. ...