views:

346

answers:

2

I'm using VSM (Visual State Manager, from the WPF Toolkit) in WPF and I'm trying to find a list of States.

Basically, I understand that there are certain "magic" states - like the MouseOver state is automatically applied when the control is moused over, or the Focused state that is applied when ... focused.

Is there a list of these somewhere? I'm sure there is, I just can't find it.

+1  A: 
Nicholas Armstrong
+2  A: 

Here is another resource on this.

In it, Jeetu lists out the state groups and the states in each group ... for each of the basic controls. I'll list them out here too for convenience.

Button, GridViewColumnHeader, RepeatButton:
    CommonStates: Normal, MouseOver, Pressed, Disabled
    FocusStates: Unfocused, Focused

CheckBox, RadioButton:
    CommonStates: Normal, MouseOver, Pressed, Disabled
    CheckStates: Unchecked, Checked, Indeterminate
    FocusStates: Unfocused, Focused

ListBoxItem:
    CommonStates: Normal, MouseOver
    SelectionStates: Unselected, Selected
    FocusStates: Unfocused, Focused

ProgressBar:
    CommonStates: Determinate, Indeterminate
    FocusStates: Unfocused, Focused

TextBox, RichTextBox:
    CommonStates: Normal, MouseOver, Disabled, ReadOnly
    FocusStates: Unfocused, Focused
cplotts