Beispiel #1
0
 public async void Hide(object data = null)
 {
     ModalsManager.Remove(this);
     Animate(Windows.UI.Composition.AnimationDirection.Reverse, animationDuration);
     if (IsAnimationsEnabled)
     {
         await Task.Delay(animationDuration);
     }
     Closed?.Invoke(this, data);
     popup.IsOpen = false;
 }
Beispiel #2
0
 public void Hide(object data = null)
 {
     ModalsManager.Remove(this);
     Closed?.Invoke(this, data);
     popup.IsOpen = false;
 }