Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Prism commanding
posted

Hi,

We're using Prism as a framework for our Silverlight application. In addition, we have the Infragistics XamWebRibbon in the top region.

Our problem is in using Prism commanding in conjunction with the XamWebRibbon to bind click events in the XamWebRibbon to a delegate method in our ModelView.

http://development-guides.silverbaylabs.org/Video/Prism-Commands#videolocation_2

Out of the box, Prism only contains Button click Commands. We are trying to write a Command that will handle the Infragistic XamWebRibbon click events.  We have written the classes to handle the RibbonClick, CommandBehaviour and CommandBehaviourBase. CommandBehaviourBase has been tried with types ButtonTool, RibbonTool and RibbonToolControl.  Unfortunately without success. In each case we're getting unhelpful parser errors in our XAML on Initialize which we declare the command binding.

Has anybody got Infragistics events / Prism Commanding working ?  Can you share the CommandBehaviour/CommandBehaviourBase classes ?

Thanks,