Showing posts with label Application Bar Binding. Show all posts
Showing posts with label Application Bar Binding. Show all posts

Tuesday, September 16, 2014

MVVM and Windows Phone application bar

Working a cross platform mobile solution.  I have the Commands defined in my mvvm core View Model.  I need to bind my View in the Windows Phone 8 application to the command in the ViewModel. 

Problem:
"Windows Phone AppBar's are naive rather than Silverlight controls - so they are not bindable"

Solution:
Get an addon which will support app bar binding for windows phone 8. 
https://bindableapplicationb.codeplex.com/


Source:
http://stackoverflow.com/questions/25466816/how-to-do-binding-for-a-global-applicationbar-in-windows-phone-with-mvvmcross