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. Image for the cookie policy date

Command Binding on Ribbon Control built through ViewModel

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.

3 Replies

PB Priyanga Balasubramaniam Syncfusion Team September 28, 2017 09:20 AM UTC

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

PJ Paul Jastrow September 29, 2017 02:30 AM UTC

Thank you very much. Your sample app helped.

PB Priyanga Balasubramaniam Syncfusion Team September 29, 2017 04:10 AM UTC

Hi Paul,

Thank you for the update.

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

Priyanga B

Live Chat Icon For mobile
Up arrow icon