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
sender
Type: System.ObjectThe Object that is passed to the action by the behavior. Generally this is AssociatedObject or a target object.
parameter
Type: System.ObjectThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.