protected virtual void OnAnimationStart() { if (IsOpened) { IsAnimationOn = true; } else { IsAnimationOn = false; CloseAnimationCompleted?.Invoke(this, EventArgs.Empty); } }
private void OnCloseAnimationCompleted() { CloseAnimationCompleted?.Invoke(this); }