EventToCommand behavior and windows phone 7

Apr 2, 2010 at 4:38 AM

How to I get the EventToCommand behavior to show up in blend for a windows phone 7 app?  I tried manually adding it in the solution and the solution would not compile.

Coordinator
Apr 2, 2010 at 6:41 AM

Hi,

I am about to release a service pack for V3 that supports this scenario.

Adding EventToCommand manually works (at least in my tests) but the syntax is a bit convoluted. Try adding another behavior to your element, and tweak the syntax to use EventToCommand instead. I will try to push the new version this weekend.

Cheers,

Laurent

Apr 2, 2010 at 12:48 PM

I will try the manual way again until the service pack is released. Thanks for answering the question so quick.

Coordinator
Apr 5, 2010 at 6:49 PM

Hi,

Just wanted to make sure that you saw this:

http://blog.galasoft.ch/archive/2010/04/03/mvvm-light-toolkit-v3-sp1-for-windows-phone-7.aspx

Cheers,

Laurent