Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TriggerAction<T> Class

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
TriggerAction.cs
Source:
TriggerAction.cs
Source:
TriggerAction.cs
Source:
TriggerAction.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A base class for user-defined actions that respond to a trigger condition with a type-safe sender parameter.

generic <typename T>
 where T : BindableObjectpublic ref class TriggerAction abstract : Microsoft::Maui::Controls::TriggerAction
public abstract class TriggerAction<T> : Microsoft.Maui.Controls.TriggerAction where T : BindableObject
type TriggerAction<'T (requires 'T :> BindableObject)> = class
 inherit TriggerAction
Public MustInherit Class TriggerAction(Of T)
Inherits TriggerAction

Type Parameters

T

The type of BindableObject to which this action can be attached.

Inheritance
TriggerAction<T>

Remarks

Application developers should use TriggerAction<T>, instead.

Constructors

Name Description
TriggerAction<T>()

Properties

Name Description
AssociatedType (Inherited from TriggerAction)

Methods

Name Description
Invoke(Object)
Invoke(T)

Applies to


Feedback

Was this page helpful?