The Dew Review – DevExpress WPF Subscription – 2013.1 Release

Introduction

I have been using the latest release (2013.1) of DevExpress’ WPF Subscription over the last several weeks on my new Ultrabook, and I have had a great time exploring the expansive collection of tools and controls included in the suite. I have only used a fraction of the available controls available in this release, but I have been very impressed with everything I have been able to test drive so far.

What’s New

DevExpress has been building WPF controls for a long time now, but I cannot remember the last release with so much new stuff included. Here’s a quick rundown of the new features in 2013.1:

  • Getting Started Tutorial (New – Online)
  • Data Grid (Enhanced)
  • Chart Control Wizard (New)
  • Map Control (Enhanced)
  • Property Grid (New)
  • Row Multi-Select in Grid Lookup Control (New)
  • Range Control Integration in Scheduler Control (New)
  • Design-Time Extensions (SmartTags in the Designer) (New)
  • Scaffolding Wizards (New)
  • WPF Data Source Wizard (New)
  • Instant Layout Assistant (VS2012 Only) (New)
  • Icon Library w/VS Integrated Image Picker (New)
  • Windows UI Style Controls (New)
  • Touch Enabled Theme (New)
  • Window Visual Effects (New)
  • Touch-Friendly Date Picker Control (New)
  • Touch-Friendly Range Control (New)
  • Visual Studio Template Gallery

Quite a list, eh?

I will focus this article on a few of the coolest (in my opinion) features: the Template Gallery, the Windows UI Style Controls, and the Touch-Enabled Theme.

Template Gallery

DevExpress now integrates their own Template Gallery into Visual Studio. Under the DevExpress menu, you will find an ‘All Platforms’ submenu containing ‘New Project’ and ‘New Item’ menu items.

dx1

Selecting either of these launches the Template Gallery. The project templates are divided into WPF Common, WPF Business Solutions, and WPF Windows UI Solutions.

dx2

The Business Solutions are project templates that create Word and Outlook applications with main windows that are modeled after Microsoft Word and Outlook, each very functional. Here is a screen shot of the Word style application running with no extra code added:

dx3

There is a full ribbon control filled with controls that manipulate the rich text editor. Everything I tried works as expected.

The ‘New Item’ Template Gallery window provides the following list of item templates to select:

  • WPF Common
    • DXWindow
    • DXRibbonWindow
    • DXSplashScreen
    • UserControl
  • WPF Views for MVVM
    • Tabbed MDI View
    • Business Object View
    • Collection View
  • WPF View Models for MVVM
    • Blank View Model
    • Business Object View Model
    • Collection View Model
  • WPF Data Models for MVVM
    • Entity Framework Data Model

Each of the item templates has its own wizard to assist in binding to existing or new data sources. MVVM out-of-the-box… nice. Hopefully, we will have the same kinds of choices built into Visual Studio’s New Item dialog soon.

Windows UI Style Controls

Selecting the Tile Application project from the DevExpress Template Gallery will create a WPF project that looks like a Windows UI Style app. Run the project for the first time and here is what you will see:

image

It is a full-screen WPF desktop application with no close button or other window chrome. If you didn’t alt-tab back to Visual Studio and see the application’s icon in the Windows Desktop taskbar, it would be hard to tell the difference. The Windows 8 look-and-feel is provided by the DevExpress TileLayoutControl and groups of TileControls.

This is an MVVM application with two views (in addition to MainWindow.xaml), two view models and a sample data source used as the model.

image

Touch-Enabled Theme

A new theme called TouchlineDark was added to support touch screen PCs and tablets. By changing the dx:ThemeManager.ThemeName to TouchlineDark in MainWindow.xaml from the previous section, the whole app switches to the new theme.

image

By default, DevExpress WPF controls styled with this theme will be larger and more touch-friendly, as can many of the standard WPF controls from Microsoft. Here’s a shot of the DevExpress WPF Data Grid using TouchlineDark I found in the online documentation.

HelpResource

Summary

As you can see, the WPF Subscription from DevExpress has everything a developer could ask for to create great-looking line-of-business (LOB) or Windows UI Style applications in as little time as possible. With advanced support for MVVM, data binding, theming and simple but powerful controls, the suite will be an integral part of my developer toolbelt for my next WPF project.

Happy coding!

 

Disclosure of Material Connection: I received one or more of the products or services mentioned above for free in the hope that I would mention it on my blog. Regardless, I only recommend products or services I use personally and believe my readers will enjoy. I am disclosing this in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.

 

Dew Drop – September 5, 2013 (#1,618)

Top Links

 

Web Development

 

XAML

 

Miscellaneous .NET

 

Design / Methodology / Testing

 

Other Mobile Platforms

 

Podcasts / Screencasts / Videos

 

Community / Events

 

Database

 

Miscellaneous

 

More Link Collections

 

The Geek Shelf

 

 

Mastodon
github.com/alvinashcraft