Sometimes the users forget to select from a Spark List component. Other funtionality depends on the selection from this list component.
I want programmatically make this list component flash red three times or any equivalent effect to catch the users attention. Anyone know how to do this?
You can do what you want using a
Timer
and component colors, visibility, alpha, ...Take this simple and working code using Spark List component:
The difference between the visibility example and alpha one is the opacity effect when using alpha.
You can also use an
Alert
control to alert the user if no item was selected, but because you only spoke about highlight effect I didn't include it in the example. You can use it like this :Hope that helps you.