Click or drag to resize

RelayCommand class

Encapsulates ICommand details for WPF commands.
Inheritance hierarchy
SystemObject
  NetEti.MVVMiniRelayCommand

Namespace: NetEti.MVVMini
Assembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+7b60487fcbc3b95636e4fc726213c9ca8562bee8
Syntax
public class RelayCommand : IRelayCommand,
	 
	ICommand

The RelayCommand Type exposes the following members.

Constructors
 NameDescription of the
Public MethodRelayCommand(ActionObject) Constructor - takes over an action to be executed.
Public MethodRelayCommand(ActionObject, FuncBoolean) Constructor - takes over an action to be executed and a check routine for (de)activating the action.
Back to the top
Methods
 NameDescription of the
Public MethodCanExecute Check routine for execution authorisation for the command for the UI.
Public MethodExecute Executes the command.
Public MethodUpdateCanExecuteState Forces CanExecuteChanged.
Back to the top
Events
 NameDescription of the
Public EventCanExecuteChanged The event for a change in the CanExecute status.
Back to the top
See also