Class DelegateCommandWrapper
Wraps Command and Action instances in a common execution context.
Inheritance
Namespace: Telerik.Windows.Controls.Data
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public abstract class DelegateCommandWrapper : Object
Constructors
DelegateCommandWrapper(Action)
Initializes a new instance of the DelegateCommandWrapper class.
Declaration
public DelegateCommandWrapper(Action action)
Parameters
System.Action
action
The action. |
DelegateCommandWrapper(Action, Int32)
Initializes a new instance of the DelegateCommandWrapper class.
Declaration
public DelegateCommandWrapper(Action action, int delay)
Parameters
System.Action
action
The action. |
System.Int32
delay
The delay. |
DelegateCommandWrapper(ICommand)
Initializes a new instance of the DelegateCommandWrapper class.
Declaration
public DelegateCommandWrapper(ICommand command)
Parameters
System.Windows.Input.ICommand
command
The command. |
DelegateCommandWrapper(ICommand, Int32)
Initializes a new instance of the DelegateCommandWrapper class.
Declaration
public DelegateCommandWrapper(ICommand command, int delay)
Parameters
System.Windows.Input.ICommand
command
The command. |
System.Int32
delay
The delay. |
Properties
Delay
Gets or sets the delay.
Declaration
public int Delay { get; protected set; }
Property Value
System.Int32
The delay. |
ExecuteAction
Gets or sets the execute action.
Declaration
protected Action ExecuteAction { get; set; }
Property Value
System.Action
The execute action. |
ExecuteCommand
Gets or sets the execute command.
Declaration
protected ICommand ExecuteCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The execute command. |
InvocationKey
Gets or sets the invocation key.
Declaration
public Key InvocationKey { get; set; }
Property Value
System.Windows.Input.Key
The invocation key. |
Methods
GetExecuteAction()
Gets the execute action.
Declaration
public virtual Action GetExecuteAction()
Returns
System.Action
|