开发者

Convert C# Path object to XAML in WPF

开发者 https://www.devze.com 2022-12-22 10:19 出处:网络
I have a WPF Path object which is created by reading nodes from a binary file, howev开发者_Python百科er I was wondering if there was a way to take this generated Path and convert it into XAML that cou

I have a WPF Path object which is created by reading nodes from a binary file, howev开发者_Python百科er I was wondering if there was a way to take this generated Path and convert it into XAML that could be stored in the application resources.

Thanks


Can you use XamlWriter (System.Windows.Markup)? It should be capable of taking any WPF object and producing a string containing the equivalent XAML.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号