Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Collapse]Build an Application
  [Expand]Choose Application UI
   Data Management Controls
  [Expand]Printing and Exporting
  [Collapse]WinForms MVVM
   [Expand]Concepts
   [Collapse]Design-time Support
     MvvmContext
     Control-based Services
     Templates
   [Expand]Tutorials
  [Expand]Skins
  [Expand]Localization
  [Expand]Right-to-Left Layout
   Redistribution and Deployment
 [Expand]Controls and Libraries
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Templates

To simplify MVVM application development, DevExpress offers several MVVM-specific Template Gallery templates, available from the 'Add DevExpress Item' menu.

The table below lists all MVVM-related templates included in this gallery.

Template Name Template Description
View & View Model The entry point for each new application module. Creates a blank View related to the new blank ViewModel
Blank View Model An empty ViewModel that implements the INotifyPropertyChanged interface and supports declaring bindable properties. You can choose the type of the created ViewModel (either a POCO or regular model).
Business Object View Model Launches the wizard that generates a ViewModel to perform CRUD (create, read, update, delete) operations on a single business object. The created ViewModel supports message broadcasting using the DevExpress Messenger.
Collection View Model Similar to the previous template, this template launches the wizard to generate a ViewModel that works with an entire collection of business objects. Message broadcasting is also supported.
Data Model Scaffolding Two previous templates joined together. Creates ViewModels for both the entire objects' collection and a single entity. The example of working with the Scaffolding Wizard is illustrated in the first lesson of the Tutorials section.

How would you rate this topic?​​​​​​​