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
state
VisualStateThe visual state to add the setter to.
prop
BindablePropertyThe bindable property to set.
value
TThe value to set.
Returns
- Setter
The created setter.
Type Parameters
T
The type of the value to set.