[]
Initializes a new instance of the DelegateCommand class.
public DelegateCommand(Action<object> execute)
Public Sub New(execute As Action(Of Object))
| Type | Name | Description |
|---|---|---|
| Action<object> | execute | The execute delegate. |
Initializes a new instance of the DelegateCommand class.
public DelegateCommand(Action<object> execute, Predicate<object> canExecute)
Public Sub New(execute As Action(Of Object), canExecute As Predicate(Of Object))
| Type | Name | Description |
|---|---|---|
| Action<object> | execute | The execute delegate. |
| Predicate<object> | canExecute | The can execute delegate. |