Command

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public class Command : Command<object, object>

Base types Command

Implements the Missing: <see cref=“T:Catel.MVVM.Command`2” /> class with as generic types.

Constructors

Command(Action execute, Func<bool> canExecute, object tag)

Initializes a new instance of the Missing: <see cref=“T:Catel.MVVM.Command`2” /> class.

Parameters

Name Description
execute The action to execute.
canExecute The function to call to determine wether the command can be executed.
tag The tag of the command.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion