Common MVVM Questions

As has been indicated throughout this chapter, there are many ways of implementing the MVVM design pattern, and with no clear single best practice, the decision of how to do so will come down to what suits your project and development process best. Let's look at a few questions you might have on how you should implement the MVVM design pattern.

Should I Implement Dependency Properties or Standard Properties on My ViewModel Class?

Generally, you need to implement only standard properties on your ViewModel class. Because you are binding to the properties on the ViewModel class, which act as the source of the data, there's no need for them to be dependency properties. Therefore, as a general rule, standard properties that raise ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.