• From
• To
• RepeatBehavior
• Duration
After this setup, just calling the BeginAnimation method alongwith which property needs to be animated (in our case it is the right property) will start sliding horizontally.
Animation Setup
For horizontal marquee, we need two controls. One is the outer panel and the sliding label. For horizontal sliding or marquee we can either change the left property or right property using double animation object. For example we are going to try the right property.If you want the sliding to be faster then reduce the duration. If you want the sliding t ...
Read more here:
WPF Marquee Animation In Listbox Items
No comments:
Post a Comment
comment.........