I am new to Silverlight (version 4) and MVVM, and I can't seem to figure out how to bind a command in the XAML to my ViewModel for the "Loaded" event of a UserControl. I can bind a command to a button like this...
<Button Command="{Binding ShowImageClick}" />
And it works fine. But I have no idea how to do something similiar onload. I tried this but it threw an exception saying "Failed to assign property"...
<UserControl Loaded="{Binding WindowLoad}">
Any ideas?