Example #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;
 }
Example #2
0
 public void Hide(object data = null)
 {
     ModalsManager.Remove(this);
     Closed?.Invoke(this, data);
     popup.IsOpen = false;
 }
Example #3
0
 public void Show()
 {
     ModalsManager.Add(this);
     popup.IsOpen = true;
 }