Cancel command on button click
问题 I currently have a windows phone 8 application that has a user control that is bound to some view model. In the view model I a have a command property that binds to a button on the view. I want to popup a message box in the view that asks "Are you sure you want to do X?". If Yes it needs to fire the command that is bound to the button else it needs to not fire the command. I obviously do not want to fire the MessageBox from the view model since this is view logic. So how do I show the