WPF Scaffolding, App Templates & MVVM Enhancements (Coming soon in v15.1)

Thinking Out Loud
02 June 2015

One of our primary goals when developing the Scaffolding Wizard was to generate apps that support the widest possible usage scenarios - without writing any additional code. One feature that was missing in previous versions was layout serialization. With the latest enhancements to our MVVM toolbox, apps built using our wizard can fully leverage the end-user customization power of our controls.

Layout Serialization - Save and Restore Control State

Any runtime customization applied to controls such as the DevExpress Grid or Layout Control will automatically be saved to a user settings file when the application is closed. When you reopen the application, all settings are restored, including previously active documents and their positions.

On the view side, we include a LayoutSerializationService that is responsible for saving the layout of all supported controls down the visual tree from the object it is attached to. End-users can now customize entity edit views by using the customization features of the Layout Control. The layout of open documents, such as docking states, position and size will be serialized automatically and persist across application restarts.

WPF MVVM Layout Serialization

Google Chrome Inspired App Template

A couple of weeks ago, I blogged about our new Tab Control - a UI component that closely resembles the tab control found in modern web browsers. Scaffolding users can incorporate this new control and create apps that look, feel and behave like a web browser by utilizing the new Web Browser Scaffolding View.

Standard features found in web browsers, such as tab reordering, “new page” tab and dragging a tab to a new window, are all available. This UI implementation offers the maximum use of screen real estate and is well-suited for apps that must run on smaller screens/devices. Like other Scaffolding Views, this view is based on the same set of View Models and thus relies on DocumentUIManagerService to manage opened tabs.

WPF MVVM Chrome Inspired Tabbed UI

WPF Grid Control Instant Feedback Mode

By limiting the number of queries from the database, Instant Feedback Mode allows the DevExpress Grid to display the contents of extremely large datasets. The Grid Control can bind to a table with millions of rows and be as responsive as if there were only a few hundred. Instant Feedback Mode supports both Entity Framework and WCF Data Contract services.

With this release, any scaffold collection view model can take advantage of Instant Feedback mode by substituting its base class with InstantFeedbackCollectionViewModel. This new class is generated along side of the CollectionViewModel class and serves as a drop-in replacement. The use of InstantFeedbackCollectionViewModel is the easiest way to take advantage Instant Feedback mode, while maintain all the advantages of MVVM patterns.

FREE DevExpress Xamarin UI Controls

Deliver high-impact native mobile apps with our feature-rich Data Grid, Scheduler, Chart, TabView, Editors, and utility controls. Reserve your free copy today!
Patrick Clerc-Dubosc
Patrick Clerc-Dubosc

Is WPF Grid Control Instant Feedback Mode already in current version (15.1.3) ? If yes, could you explain how to use it ?


19 June 2015
Adam Brinkman
Adam Brinkman

I can't find any other information about InstantFeedbackCollectionViewModel, is this available now? There doesnt appear to be any documentation and I can't find it in 15.1.

26 June 2015

Where is the layout saved?

Can you remove it?


26 June 2015
Michael Ch (DevExpress Support)
Michael Ch (DevExpress Support)

Hello Christophe, John and Jürgen,

We accidentally discovered that your initial questions were out of the scope of our Support Center for a long time. Please accept our sincere apologies for not responding in a timely manner.

Lets me answer your questions in order.

The Instant Feedback Mode feature is available starting with version 15.1. You can find the description of how to use it in a scaffolded application in the documentation.devexpress.com topic.

As for the saved layout settings, the application saves its settings to the %appdata%\..\local\[YourAppName] folder by default. So, you can access them there.



22 July 2015

Please login or register to post comments.