I want to animate some ellipses with a SplinePointAnimationWithKeyframes, but I can’t figure out which target property I must set to the story board:
StoryBoard.SetTargetProperty(splineAnimation, Canvas.???);
thanks for you’re help!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See the Examples section in PointAnimation for how to animate the
Centerproperty of anEllipseGeometry.If you want to animate let’s say the
Canvas.LeftandCanvas.Topof an Ellipse element, you would need to have two separate animations in your Storyboard. The same is true for e.g. animating theXandYproperties of a TranslateTransform.