.NET Zone is brought to you in partnership with:

My name is Toni Petrina and I am a software developer and an occasional speaker. Although I primarily develop on the Microsoft stack, I like to learn new technologies. My hobbyist projects range from game development, regardless of the technology, to ALM. I spend most of my time with my girlfriend and someday I will learn how to play the guitar properly. Toni is a DZone MVB and is not an employee of DZone and has posted 69 posts at DZone. You can read more from them at their website. View Full User Profile

Modern UI for WPF

02.25.2013
| 8301 views |
  • submit to reddit

A few months ago I blogged about Metro-styling a WPF application. My post merely scratched the surface and never considered styling any other controls besides the main window, but now guys that brought you XAML Spy have open sourced a library for building Modern UI style WPF applications. You can check out the code over at codeplex repository. It is really easy to get started, simply use the following NuGet command:

Install-Package ModernUI.WPF

And with only a few changes you will transform your basic looking window from this:


Simple WPF window


into this:

Simple WPF window with Modern UI


Check out their web for more information over at codeplex.

If you are really into using Metro in your classic WPF applications, another option MahApps.Metro. The above window will be restyled to look like:


Published at DZone with permission of Toni Petrina, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)