public virtual void Dispose() { if (TargetProperty != VisualProperty.None) { TargetVisual?.StopAnimation(TargetProperty.ToString()); } CompositionAnimation?.Dispose(); CompositionAnimation = null; }
public virtual void Dispose() { if (TargetProperty != VisualProperty.None) { TargetVisual?.StopAnimation(TargetProperty.ToString()); } CompositionAnimation?.Dispose(); CompositionAnimation = null; }