C# WPF XAML Loading
Posted
by
user3713589
on Stack Overflow
See other posts from Stack Overflow
or by user3713589
Published on 2014-06-06T03:16:20Z
Indexed on
2014/06/06
3:24 UTC
Read the original article
Hit count: 237
Hi I'd like to inquire on how i can load a WPF Xaml into code so that I can change the values of the attributes of some XAML elements and output it by creating another XAML files. This is so that I can output the same file with values dynamically input by the user.
the XamlReader.Load() method cannot be used; it will throw an exception (because they are unable to recognise Window as the root element). I'm using VS2013 and C#.
© Stack Overflow or respective owner