Class VisualStateUtils
Provides utility methods for working with visual states in a the application.
public static class VisualStateUtils
- Inheritance
-
VisualStateUtils
Fields
- GroupNameCommonStates
The name of the common states visual state group.
- NameDisabled
The name of the disabled visual state.
- NameFocused
The name of the focused visual state.
- NameNormal
The name of the normal visual state.
- NamePointerOver
The name of the pointer over visual state.
- NamePressed
The name of the pressed visual state.
- NameSelected
The name of the selected visual state.
Methods
- AddSetterForBackgroundColor(VisualState, Color)
Adds a setter for the background color to the specified visual state.
- AddSetterForButtonBorderColor(VisualState, Color)
Adds a setter for the button border color to the specified visual state.
- AddSetterForButtonBorderWidth(VisualState, double)
Adds a setter for the button border width to the specified visual state.
- AddSetterForButtonTextColor(VisualState, Color)
Adds a setter for the button text color to the specified visual state.
- AddSetter<T>(VisualState, BindableProperty, T)
Adds a setter to the specified visual state.
- CreateCommonStatesGroup()
Creates a visual state group for common states.
- CreateDisabledState()
Creates a VisualState for the disabled state.
- CreateNormalState()
Creates a VisualState for the normal state.
- CreatePointerOverState()
Creates a VisualState for the pointer over state.
- CreatePressedState()
Creates a VisualState for the pressed state.