WPF Team Blog

Bind my Ribbon UI to my data model

The recommended way to bind the Ribbon UI to a data model is to encapsulate the command and the state associated with each control into a data object that is used as the DataContext for that control. You can then apply an implicit Style to the control that binds individual properties on it to corresponding properties of the data object.

Microsoft XAML Toolkit CTP – July 2010

We have just released the Second CTP of the XAML Tool Kit.

There is still some work to do before the XAML Toolkit is at full release quality, so this is still labeled as a CTP. However, we are confident that it is stable,

Microsoft XAML Toolkit CTP – July 2010: FxCop Integration

This post describes the FxCop Integration feature of the XAML Toolkit CTP – July 2010, announced here and downloadable here.  It borrows heavily from Mike Shim’s earlier post on XAML FxCop.

The tool kit’s integration with FxCop has been tested against FxCop version 1.36 but that version of FxCop is a .Net 3 application and must be configured to run in .Net 4 in order to use the XAML FxCop rules.

Microsoft XAML Toolkit CTP – July 2010: XAML DOM

This post describes the XAML DOM feature of the XAML Toolkit CTP – July 2010, announced here and downloadable here.  It borrows heavily from Mike Shim’s post announcing the first CTP.

Here’s a simple example of reading a XAML document and writing out all the types used:

By calling XamlDomServices.Load,


WPF in .NET 4.6.1

In addition to the platform and tooling improvements that we delivered in .NET 4.6,, we started looking into WPF App Local as a means of delivering platform improvements in March of this year. We had some early successes in our prototypes that we were super excited about,

WPF Community Projects

WPF Community Projects

If you do a quick search with WPF as the search query of GitHub, you get over 6K results. That shows the incredible community support WPF has been blessed with over the years. We wanted to take this opportunity to call out some of popular and upcoming open source projects from the community,

Blend for Visual Studio 2015 RC

Today we are pleased to announce the availability of an improved Blend experience when you download Visual Studio 2015 RC. We redesigned Blend for Visual Studio 2015 to provide you with a great user interface development experience for creating beautiful XAML apps.

Expanding WPF for UI Debugging

The Optimum User Experience

Since the very earliest days of WPF/XAML development, there has always been a need to inspect the visual tree. Early Pre-Alpha builds of Blend had a debug command which would dump the entire visual tree to a text file so developers could look through it for anomalies.

New UI Performance Analysis Tool for WPF Applications

In Visual Studio 2013, we added a new XAML UI Responsiveness tool in the performance and diagnostics hub to enable you to analyze application interaction-related performance issues in your XAML Windows Store applications. Since then, we’ve gotten a number of requests to support WPF applications.

The Roadmap for WPF

Today, we announced the roadmap for the WPF platform. The post defines the areas of investment in future releases of WPF, and details the current progress of improvements made to the WPF platform in the .NET Framework 4.6 and Visual Studio 2015.

How does WPF WebBrowser Control handle window.external.notify()?

Every now and then we get some really good questions that make us think.  This was one of those questions. Here was the original Tweet that was sent our way.

For those of you unfamiliar with the context of the question,

SystemColors Reference

WPF exposes a swatch of colors that comprise the current Windows system theme.  These are available in the SystemColors class as Colors, Brushes, and corresponding ResourceKeys (for binding with dynamic notification of changes to these colors,

Working Around RibbonWindow Dimensions Issues When Targeting .NET 3.5

For those targeting .NET 3.5, you will notice that RibbonWindow’s Height, Width, Left, and Top properties are a little funky and can be misreported.  This article explains why RibbonWindow on .NET 3.5 has these issues, how the issues manifest, and how to work around them. 

Enabling ClearType for Ribbon Applications

The Ribbon RTM release was built against .NET 3.5, but our October 2010 release of Ribbon includes both .NET 3.5 and .NET 4.0 Ribbon DLLs.  With the v4.0 Ribbon, we have enabled ClearType on all of the Ribbon controls using RenderOptions.ClearTypeHint