Exemplo n.º 1
0
 /// <summary>
 /// Called when this instance is no longer the active content in a frame.
 /// </summary>
 /// <param name="e">An object that contains the navigation data.</param>
 public void OnNavigatedFrom(NavigationEventArgs e)
 {
     if (NavigatedFrom != null)
     {
         NavigatedFrom.Invoke(this, e);
     }
 }
Exemplo n.º 2
0
 internal void SendNavigatedFrom(NavigatedFromEventArgs args)
 {
     NavigatedFrom?.Invoke(this, args);
     OnNavigatedFrom(args);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the <see cref="E:NavigatedFrom"/> event.
 /// </summary>
 /// <param name="e">The <see cref="FirstFloor.ModernUI.Windows.Navigation.NavigationEventArgs"/> instance containing the event data.</param>
 public void OnNavigatedFrom(NavigationEventArgs e)
 {
     NavigatedFrom?.Invoke(this, e);
 }