(X) Hide this Sign up for the upcoming webinar: Switching on the Cloud for Silverlight by Gill Cleeren. March 23rd, 11 am PST (check your local time)
Full info | Sign up | More webinars
Skip Navigation LinksHome / News / View News

Windows Phone 7 - Making the ApplicationBar bindable

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Mar 14, 2011
(0 votes)

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterRudi Grobler has a short blog post on how to make your ApplicationBar more MVVM friendly.

Source: Rudi Grobler in the Cloud

One of the small issues with using MVVM (Model-View-ViewModel) in a WP7 application is that both ApplicationBarIconButton & ApplicationBarMenuItem do NOT derive from DependencyObject. This means that I can NOT bind to any of its properties, making a “true” MVVM application a little hard! I created 2 simple wrappers for these that make it possible to “bind” to a method.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 4 and type the answer here: