Method AddSetter
AddSetter<T>(VisualState, BindableProperty, T)
Adds a setter to the specified visual state.
public static Setter AddSetter<T>(this VisualState state, BindableProperty prop, T value)
Parameters
stateVisualStateThe visual state to add the setter to.
propBindablePropertyThe bindable property to set.
valueTThe value to set.
Returns
- Setter
The created setter.
Type Parameters
TThe type of the value to set.