Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF animation question

Tags:

wpf

I am new to WPF in general and want to add some animation to my interface.

I have a label and an image. The label will fly in from the right side of the window, the image from the left. They'll meet in the center. The image will rotate while its flying in, while the text will pretty much just move across the screen.

So my question is. For this kind of animation do you get a path object where you can draw a line at design time and have elements move across this line at a certain speed?

In classic windows forms I would have approached the issue using a timer and then adjust the left property of the label at each tick. Surely WPF is more sophisticated than this though.

So can anyone tell me a good approach?

like image 467
JL. Avatar asked Apr 08 '26 01:04

JL.


1 Answers

First: You need ExpressionBlend to create animation in WPF.

WPF is more sophisticated

Of course no, read about animation in WPF, Personally, I prefer video learning for it. you can find here some clips, I recommend this series from Total training.

like image 185
Homam Avatar answered Apr 10 '26 17:04

Homam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!