Article directory
foreword
The Mvvm framework in WPF is a software architectural pattern for building applications. It divides the application into three parts: model, view and view model, among which:
- Model (Model): The data layer is responsible for data acquisition, storage and processing.
- View (View): User interface, responsible for displaying data and interacting with users.
- View Model (ViewModel): The business logic layer is responsible for connecting the model and the view, and converting the model data into data that can be used by the view.
The Mvvm framework realizes the communication between the view model and the view through data binding and command binding, so that code and UI are separated&