DevExpress MVVM Framework. Coming Soon in v14.1.

000Adapted from relevant xkcd

There are several free frameworks to help develop MVVM applications. All frameworks are different: some are light and easy to use, others have great capabilities for building a flexible application architecture, others solve typical MVVM problems.

Not long ago, we introduced our MVVM framework. Our framework is both light and easy to study. Our MVVM library contains independent parts, which can be used separately. You can enjoy the following features even while using other third party MVVM libraries.

  • Avoid manually implementing bindable properties with our POCO mechanism without changing anything in your other modules.
  • Easily implement interactions between ViewModels with Messenger.
  • Modify the behavior of any visual component – create a Behavior and assign it with an Interaction.
  • Use our Services mechanism for finer control of any visual component.

These benefits motivated us to release a free version of the DevExpress MVVM Framework. Our MVVM solution easily integrates with DevExpress components and, in general, with any application.

Free MVVM Framework will be available from NuGet, where anyone can use our solutions as easily as possible. We will make the source code publicly available on GitHub, where you can find sources for our main assemblies along with tests and samples to get up and running.

Little specifics on the work done

The Mvvm library will see a minor name change in the new release. In 14.1 we removed the “Xpf” prefix in the assembly name, so ”DevExpress.Xpf.Mvvm.vXX.Y” is now “DevExpress.Mvvm.vXX.Y”. The prefix “Xpf” was also removed from every Mvvm namespace:

DevExpress.Xpf.Mvvm.[…] -> DevExpress.Mvvm.[…]
DevExpress.Xpf.Mvvm.UI.[…] -> DevExpress.Mvvm.UI.[…]

Why did we do this? XPF is a symbiosis between two specific platforms: WPF and Silverlight. Nearly every one of our WPF components is also available in Silverlight with a similar API. The MVVM library was conceived as a library for WPF and Silverlight. We’ve since adopted our library in other projects. For instance, our new demos feature a common ViewModel in two absolutely different platforms: WinForms and WPF. This code base was built with our MVVM Framework.

Despite these changes affecting nearly every WPF/Silverlight project, there’s no need to fear. The 14.1 Project Converter is aware of these changes, so upgrading an existing project to 14.1 will automatically update references and using statements.


Alongside the Free MVVM framework, we’ve enhanced design time support in MVVM solutions and added some exciting new services.
Design Time improvements

DevExpress components provide powerful customization capabilities in the Visual Studio designer. Instant Layout Assistant extends the standard Toolbox and a Smart Tag panel allows for quickly setting the most important properties of controls, assigning icons, and customizing bindings.

In 14.1, we added the capability to define and customize Mvvm components (attached behaviors, EventToComands, services) directly from the Smart Tag.


New NotificationService


The NotificationService service allows showing Windows 8-style notifications as in the top screenshot.

New TaskbarButtonService and ApplicationJumpListService


These services allows you to customize how your application looks in the Windows 8 taskbar and the functionalities available from there.

Other improvements

We also created several small services and behaviors.

  1. DispatcherService performs actions in a ViewModel using the Dispatcher.
  2. FolderBrowserDialogService, OpenFileDialogService, and SaveFileDialogService open file dialogs from a ViewModel.
  3. WindowService opens a View in a separate window from a ViewModel.
  4. FocusBehavior provides an easy way to determine which control should be focused on startup.
  5. ConfirmationBehavior provides a capability to show a message when an end-user performs a certain action.
  6. AsyncCommand is a command with an asynchronous action. AsyncCommands can be automatically generated from a POCO ViewModel.

Improvements in Scaffolding Wizards

  1. We added a capability to edit detail collections (when the LookUpEdit is used).
  2. Automatic change tracking. When an end-user changes some data in a tab, the tab header displays a “*”.
  3. Added the FilterExpression property to the base class for collection ViewModels. With this feature you can set a filter for any module.
Published Apr 23 2014, 11:35 AM by
Filed under: , , ,
Bookmark and Share


Chris Schiefer

Since you are removing the "Xpf" prefix from the namespace, will your MVVM Framework be view independent?  I believe your MVVM Framework today references PresentationCore and PresentationFramework.

April 23, 2014 10:54 AM

Alexander (DevExpress Support)

No, this remains the same. We considered creating a cross-platform library, but it turned out that there are too many things that are included in platform-specific libraries: for instance, our DelegateCommand uses the WPF CommandManager, which is located in PresentationCore.

So, there will be a separate library with a similar API for each platform.

April 24, 2014 3:45 AM

Justin Etherington 2

Sounds like some great changes, I presume there will be some blog posts to show the "correct" way to use the new functionality

April 25, 2014 7:30 AM

Chris Royle (LOB)

Anyone else snigger when they saw the "New NotificationService" screenshot ?

April 25, 2014 9:50 AM

Daniel Dacey

This release sounds fantastic. Well done guys.

April 25, 2014 4:27 PM

Igor Pikovsky

This is a great move. While we fully embraced your MVVM framework already and replaced Galasoft's one that we previously used, one concern we had was that we were introducing dependency on 3rd party assemblies into our non-presentational components. The fact that you are open-sourcing it undoubtedly would encourage more people to use it. Besides the quality is very good.

On the same lines, it would be great if you could also moved your error-handling interfaces into separate - preferably open-source - assembly. This way it would become possible to incorporate rich error handling and validation at the entity and business logic layers - places where we currently ban inclusion of any presentation-layer references.

June 6, 2014 1:31 AM

Alexander (DevExpress Support)

Thank you very much for your feedback Igor. I also hope that our framework will be really popular, because In my opinion, the product turned out very well.

As for the error-handling, Igor, I do not quite understand what you mean. If you are talking about the IDataErroInfo support in POCO (community.devexpress.com/.../devexpress-mvvm-framework-data-validation-implementing-idataerrorinfo.aspx), then yes, it is sure to be in the free version.

June 9, 2014 8:43 AM



I can't seem to find how to change the width of the notification provided by your INotificationService. I'd like it to fit its content but apparently I cannot modify this behavior, any idea ?

July 7, 2014 7:00 AM

Alexander (DevExpress Support)


Would you please contact our support team (www.devexpress.com/.../Create)?

It is uncomfortable to discuss such issues here, because I am unable to provide a sample, etc. Please submit a ticket, and we will be happy to assist you.

July 8, 2014 2:31 AM

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2016 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners