Ejemplo n.º 1
0
 private void OnLeavingBackground(NSNotification notification)
 {
     LeavingBackground?.Invoke(this, new LeavingBackgroundEventArgs());
     Windows.UI.Xaml.Window.Current?.OnVisibilityChanged(true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="LeavingBackground"/> event.
 /// </summary>
 /// <param name="args">Leaving background event args.</param>
 internal static void RaiseLeavingBackground(LeavingBackgroundEventArgs args) => LeavingBackground?.Invoke(null, args);
 private void App_LeavingBackground(object sender, Windows.ApplicationModel.LeavingBackgroundEventArgs e)
 {
     EventDispatcher.Dispatch(() => LeavingBackground?.Invoke(this, e));
 }