Use Ribbon Control in WPF Toolkit in XAML [closed]
-
16-09-2019 - |
Question
How to use the Ribbon control in WPf toolkit in my XAML?
How to include the namespaces for ribbon in XAML?
Solution
As per the walkthrough:
<r:RibbonTab Label="Banking">
<r:RibbonGroup>
<r:RibbonButton Command="me:AppCommands.Cut"/>
<r:RibbonButton Command="me:AppCommands.Copy"/>
<r:RibbonButton Command="me:AppCommands.Paste"/>
</r:RibbonGroup>
<r:RibbonGroup>
<r:RibbonButton Command="me:AppCommands.AddNew"/>
<r:RibbonButton Command="me:AppCommands.Clear" />
<r:RibbonButton Command="me:AppCommands.Delete"/>
</r:RibbonGroup>
<r:RibbonGroup>
<r:RibbonButton Command="me:AppCommands.DownloadStatements"/>
<r:RibbonButton Command="me:AppCommands.DownloadCreditCards"/>
<r:RibbonButton Command="me:AppCommands.Transfer"/>
</r:RibbonGroup>
</r:RibbonTab>
OTHER TIPS
Good link Trainee4Life, just like this one.
I did work with Ribbon for a considerable amount of time. Nothing beats these tutorials.
http://www.uxpassion.com/2009/08/wpf-ribbon-control-roadmap-and-look-into-the-future/
And for the namespace problem, include a reference to RibbonControlsLibrary.dll in your project, and use the following line to point to the namespace.
xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow