Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.4.0.991210-pre2" />

.NET API 1,173,616 bytes

 DataTrigger

public sealed class DataTrigger : TriggerBase, IValueProvider
Class that represents a condition on an arbitrary binding, along with a list of Setter objects that will be applied when the condition is met.
public BindingBase Binding { get; set; }

Gets or sets the binding whose value will be compared to Value to determine when to invoke the setters.

public IList<Setter> Setters { get; }

Gets the list of Setter objects that will be applied when the binding that is named by the Binding property becomes equal to Value.

public object Value { get; set; }

Gets or sets the value of the binding, named by the Binding property, that will cause the setters to be applied.

public DataTrigger(Type targetType)