C++ C#

BoundCommand(INotifyStateChanged, Func<object, bool>, Action<object>) Method

API Reference

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.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.