Trying to grasp the concepts of MVVM, I have already read several blogs and looked at a few projects. From what I understand, a View is dumb, it just knows how to present something that is passed ...
For something released a little more recently (last month), take a look at Rainer Stropek's video series MVVM in WPF and Silverlight He flies right through it, but does an extremely good job of going from start to finish with an actual application.
I am currently working with the Microsoft MVVM template and find the lack of detailed examples frustrating. The included ContactBook example shows very little Command handling and the only other e...
MVVM guides us how to distribute responsibilities between classes in a GUI application. ViewModel projects the data from the Model into a format that fits the View.
What is the project structure you end up with when using MVVM in WPF? From the tutorials I saw now, they usually have folders: Model, ViewModel and View. In Model you put classes like Person for
Why we go for MVVM over MVC or MVP while dealing with WPF? What extra benefit we get by using this? Edit: To be honest , today I had an interview and I have been asked this question. I answered ...
Warning: Very long and detailed post. Okay, validation in WPF when using MVVM. I’ve read many things now, looked at many SO questions, and tried many approaches, but everything feels somewhat hack...
I just started learning the MVVM pattern for WPF. I hit a wall: what do you do when you need to show an OpenFileDialog? Here's an example UI I'm trying to use it on: When the browse button is clicked, an OpenFileDialog should be shown. When the user selects a file from the OpenFileDialog, the file path should be displayed in the textbox.
How can I handle the Keyboard.KeyDown event without using code-behind? We are trying to use the MVVM pattern and avoid writing an event handler in code-behind file.