protected virtual void OnAnimationStarted(AnimationStatusEventArgs e) { if (e.Object != null) { int num = (int)e.Object.OnAnimationStarted(this); } AnimationStartedEventHandler animationStarted = this.AnimationStarted; if (animationStarted == null) { return; } animationStarted((object)this, e); }
public static void RemoveAnimationStartedHandler(DependencyObject d, AnimationStartedEventHandler handler) { (d as UIElement)?.RemoveHandler(AnimationStartedEvent, handler); }