I'm trying to animate an ellipse using the code shown below, but the ellipse doesn't move when I run the program. I think I'm misusing the Storyboard and the Path. The only object used here that is from the markup file is ClickableCanvas which is a Canvas object
EllipseGeometry EHolder;
PathHolder[i] = new Path();
PathHolder[i].Fill = Brushes.Green;
EHolder = new EllipseGeometry(new Point(NumGen.Next(10,290), NumGen.Next(10,290)), 10, 10);
PathHolder[i].Data = EHolder;
//PathHolder[i].Triggers = new EventTrigger();
PointAnimation PA = new PointAnimation();
Storyboard sb = new Storyboard();
PA.From = new Point(EHolder.Center.X, EHolder.Center.Y);
PA.To = new Point(EHolder.Center.X + 30, EHolder.Center.Y + 30);
sb.Children.Add(PA);
Storyboard.SetTarget(PA, PathHolder[i].Data);
Storyboard.SetTargetProperty(PA, new PropertyPath(EllipseGeometry.CenterProperty));
ClickableCanvas.Children.Add(PathHolder[i]);
sb.Begin();