Xamarin.Forms.EventTrigger Class
Class that represents a triggering event and a list of Xamarin.Forms.TriggerAction objects that will be invoked when the event is raised.

See Also: EventTrigger Members

Syntax

[Xamarin.Forms.ContentProperty("Actions")]
public sealed class EventTrigger : TriggerBase

Remarks

The Xamarin.Forms.EventTrigger class has the following XAML property:

PropertyValue
Event

The name of the event to which to respond.

Object name

The qualified name of a Xamarin.Forms.TriggerAction`1 implementation that has been defined by the application developer. This object is instantiated and its TriggerAction`1.Invoke method is called when the triggering event is raised. Attributes on this tag set corresponding proptery values on the Xamarin.Forms.TriggerAction`1 implementation

before the TriggerAction`1.Invoke method is called.

Requirements

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