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