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
310
ICommand support
posted

HI Guys,

 

is there an ICommand support in the XamWebMenu? With SL4 it could be so easy to fire up the commands, I've read the custom commands support and that seems to be a bit complicated and forces you to have to different frameworks for commanding in your app (if you want to have ICommand as well). A little less then ideal to be honest.

 

Just to make things a bit more clearer, what I want to achieve is:

1) have a ViewModel with potentionally many ICommand Properties in it.

2) make the ViewModel available using the Resources section in the xaml.

3) Bind the XamWebMenu item events (clicks) to that ViewModel commands.

 

can this be done?

 

Regards,

Stevo