Storyboard objects enable you to organize animations and apply them in groups to one or more objects.Ī Storyboard can be used to animate dependency properties of animatable classes (for more information about what makes a class animatable, see the Animation Overview). In this case, you have multiple sets of animations that apply to the same object, and you want to play at different times, dependent on the state of the button. Shrink and fade to 50 percent opacity when it becomes disabled. Shrink away and then grow back to its original size when clicked. Grow and change color when the user selects the button. For example, suppose you want a button that does these three things. Storyboard objects enable you to combine timelines that affect a variety of objects and properties into a single timeline tree, making it easy to organize and control complex timing behaviors. A Storyboard can contain any type of Timeline, including other container timelines and animations. Container timelines derive from the TimelineGroup class, and include ParallelTimeline and Storyboard.Ī Storyboard is a type of container timeline that provides targeting information for the timelines it contains. Other timeline classes are provided to help you organize sets of timelines, and to apply timelines to properties. For more information about attached properties, see the Attached Properties Overview.Īnimations are not the only useful type of timeline. You should also know how to use attached properties. For an introduction to animation, see the Animation Overview. To understand this topic, you should be familiar with the different animation types and their basic features. It describes how to interactively manipulate Storyboard objects and describes indirect property targeting syntax. This topic shows how to use Storyboard objects to organize and apply animations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |