I am trying to execute a XAML command, when the Usercontrol gets loaded. The reason for that is that i want to change the theme of my application when the user navigates from Usercontrol A to Usercontrol B. I am using Firstfoor ModernUI.
The Code I want to execute:
Command="mui:LinkCommands.NavigateLink"
CommandParameter="cmd://settheme|/NLauncher;component/designs/ModernUI.BO2ii.xaml"
Usually u execute the Code with a button, but the user navigates with the TabControl included in the ModernUI.