IAction.Execute Method

Executes the action.

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

Syntax

'Declaration
Function Execute ( _
    sender As Object, _
    parameter As Object _
) As Object
Object Execute(
    Object sender,
    Object parameter
)
Object^ Execute(
    Object^ sender, 
    Object^ parameter
)
abstract Execute : 
        sender:Object * 
        parameter:Object -> Object
function Execute(
    sender : Object, 
    parameter : Object
) : Object

Parameters

  • parameter
    Type: System.Object

    The value of this parameter is determined by the caller.

Return Value

Type: System.Object
The result of the action.

Remarks

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

.NET Framework Security

See Also

Reference

IAction Interface

Microsoft.Xaml.Interactivity Namespace

AssociatedObject