Click or drag to resize

RelayCommandT(ActionT, PredicateT) Constructor

Initializes a new instance of the RelayCommandT class.

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public RelayCommand(
	Action<T> execute,
	Predicate<T>? canExecute
)

Parameters

execute  ActionT
The action to execute when the command is invoked.
canExecute  PredicateT
The predicate that determines whether the command can execute.
See Also