Approach to ICommand and Navigation.PopAsync()

I have a ViewModel with a DoSomethingInteresting Command that has a CanExecute implementation based on some properties in the ViewModel. In my navigation page I have an OK button set to execute when it is clicked and enabled/disabled when CanExecuteChanged fires. But how should I do a Navigation.PopAsync() as well? If I include it in the command my viewmodel is bound to the view and if I add a Clicked event handler I guess I cannot be sure in which order it is executed. Or am I wrong?

Lars

Posts

Sign In or Register to comment.