If you are playing with the Windows Phone 7 tools as I am, then I am sure will run into the same head scratcher that I did today. I wanted to wire up a ICommand property for my out of the box button…. But .Command is not a property on the button control for WinPhone 7. At first I was a bit stumped because I knew this was added for Silverlight 4 but then I remembered that WinPhone 7 does not run Silverlight 4, but rather it runs Silverlight 3 (with some slight changes for WinPhone specific items). And if you remember Silverlight 3 did not support commanding.
If you would like to hookup commanding for your WinPhone applications check out this post and you will be all set.
BTW, I have been told that the WinPhone team does plan to get the tooling inline with Silverlight v.Current at some point, but just not with this first release.
Hope this helps, and happy commanding.
Till next time,
04-30-2010 6:51 AM