I usually instantiate my ViewModel in codebehind and set it as the DataContext for the Window or UserControl. I usually instantiate my ViewModel in codebehin
I usually instantiate my ViewModel in codebehind and set it as the DataContext for the Window or UserControl. I usually instantiate my ViewModel in codebehin