Windows apps
Collapse the table of content
Expand the table of content

IAction::Execute Method

Executes the action.

Namespace:  Microsoft.Xaml.Interactivity
Assembly:  Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)

Object^ Execute(
	Object^ sender, 
	Object^ parameter
)

Parameters

sender
Type: System::Object

The Object that is passed to the action by the behavior. Generally this is AssociatedObject or a target object.

parameter
Type: System::Object

The value of this parameter is determined by the caller.

Return Value

Type: System::Object
The result of the action.

An example of parameter usage is EventTriggerBehavior, which passes the EventArgs as a parameter to its actions.

Show:
© 2017 Microsoft