Namespace: Semata.ControlsCLR
Class: BoundCommand
Constructs a new instance of BoundCommand.
public BoundCommand(INotifyStateChanged source, Func<object, bool> canExecute, Action<object> execute)
Parameters
Type | Name | Description |
INotifyStateChanged | source | An object that implements INotifyStateChanged. |
Func<object, bool> | canExecute | A delegate that is invoked to detemine if the command is able to run. |
Action<object> | execute | A delegate that is invoked to run the command. |