Relay |
public class RelayCommand : ICommand
The RelayCommand type exposes the following members.
Name | Description | |
---|---|---|
RelayCommand(Action) | Initializes a new instance of the RelayCommand class | |
RelayCommand(Action, FuncBoolean) | Initializes a new instance of the RelayCommand class |
Name | Description | |
---|---|---|
CanExecute | Defines the method that determines whether the command can execute in its current state. | |
EhRequerySuggested | Used to connect to the Wpf CommandManager's RequerySuggested event that is fired if something in the Gui has changed. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Execute | Defines the method to be called when the command is invoked. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnCanExecuteChanged | If called, will raise the CanExecuteChanged event. Call this function manually if CanExecute(Object) will return a different value than before. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. |