In Silverlight, is it possible to do a “bouncing balls” style animation entirely in XAML – that is, with no code-behind at all?
In Silverlight, is it possible to do a bouncing balls style animation entirely in
Share
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.
It depends. If you want the physics of the bouncing balls to be simulated at runtime (e.g. to enable interactivity) then that would not be straight-forward to do in pure Xaml. If you just want to play a predefined animation (e.g. as if it were a video) then you could do that via Storyboards and Keyframes. However, this would very likely end up with a very large and very complex Xaml file.
What are you trying to do and why do you want to avoid using code?