if I have a TabControl like this as a region, where I can add new Views in there, how do I know when a different tab was clicked by the user? Since I am adding a View to each tab of the region above like this:
var contactViewModel = _container.Resolve();
var view = ContactView(contactViewModel);
I was thinking I might be able to utilize the SelectionChanged event like this, in order to delegate it to the Command inside the ContactViewModel;
However this would only work within Shell's ViewModel, and is a bit useless. Then I was thinking about using the
GotFocus Event on the actual TabItem.
But since there is no EventSetter in SIlverlight, how would I set the GotFocus Event of the TabItem to a Command by utilizing the Interaction.trigger as above?