Пример #1
0
 protected virtual void OnAnimationStart()
 {
     if (IsOpened)
     {
         IsAnimationOn = true;
     }
     else
     {
         IsAnimationOn = false;
         CloseAnimationCompleted?.Invoke(this, EventArgs.Empty);
     }
 }
 private void OnCloseAnimationCompleted()
 {
     CloseAnimationCompleted?.Invoke(this);
 }