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.
Post by this author
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.
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.
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.
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.