Derik Whittaker



Button Commanding on WinPhone 7

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,

Posted 04-30-2010 6:51 AM by Derik Whittaker


About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)