private void OnCancelClick(object sender, System.Windows.RoutedEventArgs e) { ApplicationState.CategoryPageInformation.Apply = false; this.viewModel.AllowNavigation = !this.ReverseNavigate(); }