Constructor that allows you to hook up each of the command events
public CommandBase(Action<Object,ICommand> execute, Func<Object,ICommand,Boolean> canExecute, Func<Object,ICommand,Boolean> previewExecute)
Function that takes action
Function that determines whether the action is enabled
Function fire just prior to Execute to determine whether execute should fire. Return true or fals to indicate whether Execute should run or not. Allows for actions like cancelling or conditional execution.
See also:Class CommandBase
Comment or report problem with topic