Exploring frameworks and libraries
MVVM is an architectural pattern, not a library or a framework. However, when you start adopting the MVVM pattern in a real project, you need to have a series of building blocks that can help you speed up the implementation, by avoiding the need to reinvent the wheel at each step. In the previous section, we have seen one of these scenarios: each ViewModel class must implement the INotifyPropertyChanged
interface, otherwise, the connection between the View and the ViewModel would be broken.
This is where libraries and frameworks become helpful: they give you a set of ready-to-use building blocks that you can use to quickly start building all the components of your application. The library we're going to leverage in the examples of this chapter is called the MVVM Toolkit and is a part of the Windows Community Toolkit from Microsoft. It's the spiritual successor of the MVVM Light Toolkit by Laurent Bugnion, one of the most popular MVVM...