So I\'ve been searching around and cannot find out exactly how to do this. I\'m creating a user control using MVVM and would like to run a command on the \'Loaded\' event.
You also might have embedded your code in any MessaginCenter.Subscribe and work with MessagingCenter model.
If you intend only execute something from code behind instead of clicking in a view button with Command property, it worked perfectly to me.