Esempio n. 1
0
 public void RaiseForwardRequested(HandledEventArgs args)
 {
     if (ForwardRequested == null)
     {
         args.Handled = this.Frame.ForwardStack.Count > 0;
         if (args.Handled)
             this.GoForward();
     }
     else
     {
         ForwardRequested?.Invoke(this, args);
     }
 }
Esempio n. 2
0
 public void RaiseBackRequested(HandledEventArgs args)
 {
     if (BackRequested == null)
     {
         args.Handled = this.Frame.BackStackDepth > 0;
         if (args.Handled)
             this.GoBack();
     }
     else
     {
         BackRequested?.Invoke(this, args);
     }
 }