public static void RemoveErrorHandler(DependencyObject d, AnimationErrorEventHandler handler) { (d as UIElement)?.RemoveHandler(ErrorEvent, handler); }
public static void RemoveErrorHandler(DependencyObject d, AnimationErrorEventHandler handler) { (d as UIElement)?.RemoveHandler(ErrorEvent, handler); }