Show / Hide Table of Contents

Interface IAction

Interface implemented by all custom actions.

Namespace: EmptyKeys.UserInterface.Interactivity
Assembly: EmptyKeys.UserInterface.dll
Syntax
public interface IAction

Methods

Execute(Object, Object)

Executes the action.

Declaration
object Execute(object sender, object parameter)
Parameters
Type Name Description
System.Object sender

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

System.Object parameter

The value of this parameter is determined by the caller.

Returns
Type Description
System.Object

Returns the result of the action.

Remarks

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

Back to top Generated by DocFX