DelegateCommand(Action, FuncBoolean) Constructor
Class constructor.
Namespace: Aliquo.Windows.BaseAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public DelegateCommand(
Action execute,
Func<bool> canExecute
)
Public Sub New (
execute As Action,
canExecute As Func(Of Boolean)
)
Parameters
- execute Action
- Action to be executed by the command.
- canExecute FuncBoolean
- Function that determines whether the command can be executed.