GoToStateAction.Execute Method
Executes the action.
Namespace: Microsoft.Xaml.Interactions.Core
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public Function Execute ( _
sender As Object, _
parameter As Object _
) As Object
public Object Execute(
Object sender,
Object parameter
)
public:
virtual Object^ Execute(
Object^ sender,
Object^ parameter
) sealed
abstract Execute :
sender:Object *
parameter:Object -> Object
override Execute :
sender:Object *
parameter:Object -> Object
public final 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
true if the transition to the specified state succeeds; otherwise, false.
Implements
IAction.Execute(Object, Object)
.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.