State managers

State managers enable you to define the states for controls in your application. For example, you can define the appearance and behavior of a button during different states, such as how the button reacts when a user selects, presses, holds, or releases the button.

Each state manager consists:

For example, a state manager for a button contains three state groups: button pressed, button released, and hover over button. Each state group contains enabled and disabled states that through state objects define the appearance and behavior of the button when it is in one of the states, and the transition between the states.

You can define changes between states by:

See also

Using state managers