Xamarin.Forms Guides | Samples

Xamarin.Forms.Trigger Class

Class that represents a property condition and an action that is performed when the condition is met.

See Also: Trigger


public sealed class Trigger : TriggerBase, IValueProvider


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:,,,

The members of Xamarin.Forms.Trigger are listed below.

See Also: TriggerBase

Public Constructors

Initializes a new Trigger instance.

Public Properties

PropertyBindableProperty. Gets or sets the property whose value will be compared to Trigger.Value to determine when to invoke the setters.
SettersIList<Setter>. Gets the list of Setter objects that will be applied when the property that is named by Trigger.Property becomes equal to Trigger.Value.
ValueObject. Gets or sets the value of the property, named by the Trigger.Property property, that will cause the setters to be applied.

Explicitly Implemented Interface Members

Trigger$IValueProvider.ProvideValue(IServiceProvider)This property supports XAML infrastructure and is not intended to be directly used by application developers.