Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
While you can always apply behaviors to specific component instances, you can specify particular effects when changing view states. Using transitions, you specify an effect or group of effects to play on multiple components whenever state changes occur.
Let's return to the Search application you built using view states in the last chapter. In this application, a search field is first made large and placed in the center, and once search results are retrieved, the field shrinks and moves to the top left of the screen. Currently, this movement is immediate and jumpy, and it may take someone a moment to realize that the search fields were moved. You can add a transition that will make this movement more natural and understandable.