jeudi 17 mai 2018

MVVM - WPF How do i bind my View to my Viewmodel?

I have my View called "FahrgemeinschaftenView.xaml" & my ViewModel "Fahrgemeinschaften.cs." So by default the View is bound to its own cs, which in this case would be "FahrgemeinschaftenView.xaml.cs". Im very new to MVVM, but it says the ModelViewlayer should contain all the logic. So i try to connect "FahrgemeinschaftenView.xaml" with "FahrgemeinschaftenViewModel.cs", but wasn`t able to figure out how do to that (Passing Data).

MVVM View to ViewModel Problem

Aucun commentaire:

Enregistrer un commentaire