I'm trying to write out an object in Silverlight (2) as Xaml. http://www.codeplex.com/silverlightcontrib won't work for me because it's not a FrameworkElement that I'm dealing with. Does anyone know if XamlWriter exists in Silverlight 3?
我正在尝试将Silverlight(2)中的对象写为Xaml。 http://www.codeplex.com/silverlightcontrib对我不起作用,因为它不是我正在处理的FrameworkElement。有谁知道Silverlight 3中是否存在XamlWriter?
3 个解决方案
#1
Unfortunately it's not in current version of SL3 and it seems that it won't make it to the final version either.
不幸的是,它不是在当前版本的SL3中,它似乎也不会进入最终版本。
#2
It's still not in Silverlight 4 either.
它仍然不在Silverlight 4中。
#3
This might be a useful substitute for serializing to Xaml however: http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/
这可能是序列化到Xaml的有用替代品:http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/
#1
Unfortunately it's not in current version of SL3 and it seems that it won't make it to the final version either.
不幸的是,它不是在当前版本的SL3中,它似乎也不会进入最终版本。
#2
It's still not in Silverlight 4 either.
它仍然不在Silverlight 4中。
#3
This might be a useful substitute for serializing to Xaml however: http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/
这可能是序列化到Xaml的有用替代品:http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/