tags:

views:

11

answers:

1

Hi, I'm scrolling the label using TranslateTransform. But, By default width of label, it scrolls nicely. But if change the wording of the label which become longer text, It scroll very fast. Bcos I set the Duration to 10 secs. Is there any formula to change the duration time according to the length of the label?

A: 

Wouldn't it be easier to use something like an attached behavior that increments the position rather than making complex calculations? The behavior can also have additional properties that would control what happens when at the end of the animation etc...

Alex Paven