I am completely new to the world of WPF and MVVM and have spent the past few days downloading as many tutorials as possible and reading as much as possible!
Nevertheless, I try to implement with a very simple and general concept with MVVM and desperately need some help - and maybe even with an example :-)
I have the basics of MV-VM, command and even messenging; but how on earch do I open a new window and set these ViewModel windows to the selected list item?
Let me explain: I have a model called Client, and it has some properties. Then I have a ViewModel that gets all my Clients and stores them in an ObservableCollection. I have a screen on which I show the name and surname in the list and allow user to filter and search.
All of the above works fine.
When the user selects an item, I would like to open the editable screen of the "detailed client view" of this particular client. This detailed ViewModel screen must somehow bind to the selected item (if that makes sense); or do I need to pass the parameter to the newly opened ViewModel screen. In fact, if the user could simultaneously open multiple screens and edit multiple wedges, that would be great!
- , !
,