How do I add Galleries to my Ribbon?

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. Using the Ribbon Controls Library the RibbonGallery can be hosted within any… Read more

How can I add rich ToolTips to my Ribbon controls?

There are six properties on each Ribbon control that enable creation of rich ToolTips such as the one shown below.     ToolTipTitle ToolTipDescription ToolTipImageSource ToolTipFooterTitle ToolTIpFooterDescription ToolTIpFooterImageSource   The use of any of these six properties causes a RibbonToolTip instance to be created and used as the ToolTip for the Ribbon control. It is always… Read more

Why should I use a RibbonWindow?

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… Read more

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… Read more

Add more content to my Simple Ribbon Application

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…. Read more

Building a Simple Ribbon Application in WPF

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. Install Microsoft Ribbon for WPF Launch the… Read more

Introducing Microsoft Ribbon for WPF

They say that a picture speaks a thousand words. So here are some to whet your appetite. Read next post to get started using the WPF Ribbon. Pete Brown’s blog post about the WPF Ribbon makes an interesting read as well.   WPF Ribbon Application VS 2010 Project Template   WPF Ribbon Application Blend 4… Read more

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, usable, and suitable for the majority of usage scenarios and can… Read more

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… Read more

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: 1: XamlDomObject rootObject = XamlDomServices.Load("Window1.xaml"); 2:  3: foreach… Read more