public static void Animate(this UIElement element, string property, int duration, double value) { UIElementExtensions.Animate(element, property, duration, value, null); }
private static void SetOpacity(this UIElement element, int duration, double opacity, Action <UIElement> callback) { UIElementExtensions.Animate(element, "Opacity", duration, opacity, callback); }