Xamarin.Forms Guides | Samples

Xamarin.Forms.TriggerBase Class

Base class for classes that contain a condition and a list of actions to perform when the condition is met.

See Also: TriggerBase

Syntax

public abstract class TriggerBase : BindableObject

Remarks

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

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

See Also: BindableObject

Public Properties

[read-only]
EnterActionsIList<TriggerAction>. Gets the list of TirggerAction objects that will be invoked when the trigger condition is met. Ignored for the EventTrigger class.
[read-only]
ExitActionsIList<TriggerAction>. Gets the list of TirggerAction objects that will be invoked after the trigger condition is no longer met. Ignored for the EventTrigger class.
[read-only]
IsSealedBoolean. Gets a value that indicates whether or not the trigger is sealed.
[read-only]
TargetTypeType. The type of object to which this TriggerBase object can be attached.

Explicitly Implemented Interface Members

TriggerBase$IAttachedObject.AttachTo(BindableObject)Attempts to attach to bindable. If successful, calls the TriggerBase.OnAttachedTo method.
TriggerBase$IAttachedObject.DetachFrom(BindableObject)Attempts to detach from bindable. If successful, calls TriggerBase.OnDetachedFrom..