Apart from the already described animations, it is also possible to animate the values of various properties of controls. In this recipe, you will learn how to animate colors.
As an example, you will create a simple page with basic shapes that will form a visualization of three lights--red, yellow, and green--arranged horizontally one next to another. After you click on the drawing, the animation should start and these lights should be switched on (one per second): red, yellow, and green. Of course, the color should be changed from black with the help of animation.
To step through this recipe, you need only the automatically generated project.
To prepare the example that animates the color ...