how to call a window's Loaded event in WPF MVVM?
- by bluebit
It is easy enough to create a command from my OnLoaded() event
handler code, but how do I call it from the View?
<window Loaded="onLoaded"> doesn't cut the cake anymore since
it calls code in the xaml.cs. How would I create an ICommand
equivalent?