We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Command Binding on Ribbon Control built through ViewModel

Thread ID:





132887 Sep 27,2017 01:47 AM Sep 29,2017 12:10 AM WPF 3
Tags: Ribbon
Paul Jastrow
Asked On September 27, 2017 01:47 AM

I created a Ribbon using MVVM, based on the Patterns and Practices guidance in the documentation provided for the Ribbon Control. I can create the RibbonTabs, RibbonBars and RibbonItems, but i can't figure out how to bind a command to a RibbonItem using this approach.

Any help in binding a command using this approach would be appreciated.

Priyanga Balasubramaniam [Syncfusion]
Replied On September 28, 2017 05:20 AM

Hi Paul,

Thank you for using Syncfusion products.

We have prepared the simple sample to meet your requirement.

In this sample, we have used the Command binding for Items inside the "Clipboard" RibbonBar in Home RibbonTab. While executing the Command, shown the header of Button in MessageBox.

You can download the sample from the below location:


Priyanga B

Paul Jastrow
Replied On September 28, 2017 10:30 PM

Thank you very much. Your sample app helped.

Priyanga Balasubramaniam [Syncfusion]
Replied On September 29, 2017 12:10 AM

Hi Paul,

Thank you for the update.

Please let us know if you need any other assistance on this.

Priyanga B


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.