I am gong to develop an windows application in .net using WPF. So, how we can implement dynamic themes at run time. I have have searched a lot about this but I can nt understand this thing. If I add the below line in app.xaml then it shows error because how we can add thing line directly. Although there is no file exist with the name of "ExpressionDark".
<ResourceDictionary Source="Themes/ExpressionDark.xaml"/>
***or***
<ResourceDictionary Source="ExpressionDark.xaml"/>
Thanks in advance :)