RectNavigation.Animate.Move C# (CSharp) Method

Move() public static method

public static Move ( UIElement element, double x, double y ) : void
element System.Windows.UIElement
x double
y double
return void
        public static void Move(UIElement element, double x, double y)
        {
            TranslateTransform translateTransform = new TranslateTransform();
            element.RenderTransform = translateTransform;
            translateTransform.X = x;
            translateTransform.Y = y;
        }

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, Point from, Point to, double seconds, AnimationCompletedDelegate callback ) : void