Hello
Using Change
on Text
's Color
is no longer recommended and an alert comes up. What should I do instead if I need to animate text color in custom buttons and other UI elements?
Thanks
Hello
Using Change
on Text
's Color
is no longer recommended and an alert comes up. What should I do instead if I need to animate text color in custom buttons and other UI elements?
Thanks
Hi!
Sorry about the late reply here. Since we figured this one out on the slack channel, ill just post a quick note here:
The way to go is to use the Color
property of a Text
when one wants to animate its color:
<Change textElement.Color="#f00" Duration="0.5" />
Note however, that animating Text
is a bit more costly than animating shapes (still usually not a problem).
The warning we got was because of a small bug in fuselibs, which does not affect the running app. This has been fixed and will be in the next release.