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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Command Binding on Ribbon Control built through ViewModel

Thread ID:





132887 Sep 27,2017 05:47 AM UTC Sep 29,2017 04:10 AM UTC WPF 3
Tags: Ribbon
Paul Jastrow
Asked On September 27, 2017 05:47 AM UTC

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 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

Paul Jastrow
Replied On September 29, 2017 02:30 AM UTC

Thank you very much. Your sample app helped.

Priyanga Balasubramaniam [Syncfusion]
Replied On 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon