RectNavigation.Animate.Move C# (CSharp) Method

Move() public static method

public static Move ( UIElement element, Point from, Point to, double seconds, AnimationCompletedDelegate callback ) : void
element System.Windows.UIElement
from Point
to Point
seconds double
callback AnimationCompletedDelegate
return void
        public static void Move(UIElement element, Point from, Point to, double seconds, AnimationCompletedDelegate callback)
        {
            Move(TranslateTransform.XProperty, element, from.X, to.X, seconds, null);
            Move(TranslateTransform.YProperty, element, from.Y, to.Y, seconds, callback);
        }

Same methods

Animate::Move ( DependencyProperty dependencyProperty, UIElement element, double from, double to, double seconds, AnimationCompletedDelegate callback ) : void
Animate::Move ( UIElement element, Point to ) : void
Animate::Move ( UIElement element, double x, double y ) : void