Chapter 8. Working with States

In This Chapter

The Visual State Manager

State Types

Control Level States

State Transitions

Transition Effects

In the last two chapters, you have been working within the bounds of Style templating (Parts were included in this). You have learned how to create Styles from scratch, as well as how to manipulate existing templates and make elements work as you need them to.

This chapter shows you how to make your elements respond to different State changes that occur during the lifetime of the elements in your application.

You also look at how States can be defined at a UserControl level; in other words, you will be controlling one element on the determination of the states of another element. You use Behaviors ...

Get Microsoft now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.