1
Vote

Approaches to binding the AppBar to the ViewModel

description

Since the ApplicationBar isn't bindable executing commands requires some implementation in the page code behind. It would be helpful to have some samples on how to best tie the app bar, especially command execution, to the view model. One approach I've tried is to use the button text as a key into a dictionary of commands on the ViewModel. Not sure that is the best way.

comments