WPF Team Blog

Future of the WPF Ribbon

I’m sure many of you are wondering what the future of the WPF Ribbon will look like. The future is hard to predict and there are so many things that can change. But here is a short list of things we will be looking into for the future of the WPF Ribbon.

WPF Ribbon October 2010 Update Details

Here is the detailed list of the items that were fixed in the October 2010 update.

Ribbon Split Button is only half-highlighted when users mouse over the button
Ribbon Title is bottom-aligned, should be centered
Ribbon Quick Access Toolbar icons are clipped and top-aligned
Ribbon Contextual Tab header text is getting truncated if too long
Ribbon Gallery Item does not stretch to fit its Parent Panel
Initial enabled state of Ribbon Split Menu Items can be incorrect if they have children
Ribbon Split Menu Item with sub-items is disabled if CanExecute=false
WPF Ribbon Dropdown does not close when CanAddToQuickAccessToolBarDirectly=”False”

UPDATE: Microsoft Ribbon for WPF October 2010

Here is the October 2010 update for the Microsoft Ribbon for WPF. This update contains the latest product changes and fixes for the WPF Ribbon. You can download the latest ribbon here.
We’ve made a few changes to the WPF Ribbon you might be interested in…

Ribbon Browser Application without the title row

We have received a query about being able to hide the title panel in a Ribbon Browser Application. As always this can be achieved by finding the appropriate element within the Ribbon template and manipulating its Visibility. The attached project demonstrates this approach.

Images in Ribbon Sample

We have received some feedback about the blurriness of the images in the Ribbon sample that was published alongside the Ribbon release. We would like to clarify that the sole purpose of this sample application is to showcase the API capabilities for the Ribbon Control Library.

Picking the right resolution for RibbonWindow’s Icon

It has been reported that when using an icon file as RibbonWindow.Icon, the icon is rendered blurry due to bitmap scaling. The reason for this issue is the inherent behavior of WPF Image element to simply display the first decoded bitmap frame within an icon file instead of picking the best match in terms of resolution.

Visual improvements for RibbonQuickAccessToolBar

Here are couple of scenarios that can be improved.

The contents of the QuickAccessToolBar show far too low within the title area of the window.
It is preferable that the left and right separators for a RibbonQuickAccessToolBar not show if this ToolBar is empty.

WPF ZoomableCanvas with a million items (from Kael Rowan)

Kael Rowan just posted “ZoomableApplication2: A million items“, a post that should be very helpful to some WPF Application developers. We’ve definitely seen many applcations built that have a designer like surface (zoomable, pannable) with many boxes + lines. ZoomableCanvas shows some techniques to virtualize the data items and the uielements when they are not showing.


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. Blend has a sleek new look consistent with Visual Studio for improved workflow between the two products.

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, e.g. if the user switches Windows themes). 

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.  WPF applications using RibbonWindow must also opt-in to enable ClearType for all content below the Ribbon.