Click or drag to resize

RelayCommandT Constructor (ActionT, PredicateT)

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public RelayCommand(
	Action<T> action,
	Predicate<T> canexecute
)

Parameters

action
Type: SystemActionT
The action that is invoked on command execution
canexecute
Type: SystemPredicateT
A delegate that indicates if the command can be executed or not. Should return true if the command can be executed.
See Also