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.
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.
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.
It has been reported that when using a Ribbon hosted in a RibbonWindow in an application targeting .Net 4.0, the SystemMenu does not show in the correct location. See screenshot below.
Please note that this bug does not exist when targetting .Net 3.5.
RibbonGallery is a new metaphor introduced as part of the Ribbon UI. It is a control that visualizes a list of RibbonGalleryItems that are grouped into RibbonGalleryCategories. RibbonGallery is typically used to visualize a set of related choices that are best expressed visually.
There are six properties on each Ribbon control that enable creation of rich ToolTips such as the one shown below.
The use of any of these six properties causes a RibbonToolTip instance to be created and used as the ToolTip for the Ribbon control.
RibbonWindow is a subclass of the regular WPF Window that provides additional services to be able to integrate Ribbon components with the Window Chrome. To demonstrate this use the sample application from the previous post.
Right-click the Format Painter button within the Clipboard Group
Choose Add to QuickAccessToolBar option
Notice that the Button shows in the title row for the Window.
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.
To add more content to the Simple Ribbon Application that we created in the previous post, you can drag-drop variety of elements from the VS toolbox onto the Ribbon.
Drag RibbonGroup to the Home Tab and name it Group2.
Drag three RibbonCheckBox controls to Group2 and set the SmallImageSource property on each using the property inspector.
The simplest way to get started is to use the WPF Ribbon Application project template.
Install VS 2010
Install Microsoft Ribbon for WPF
Launch VS 2010
Add New Project – WPF Ribbon Application
If you are not able to run VS 2010 then use the following steps.