Click or drag to resize

RelayCommand Methods

The RelayCommand type exposes the following members.

Methods
 NameDescription
Public methodCanExecute Defines the method that determines whether the command can execute in its current state.
Public methodEhRequerySuggested Used to connect to the Wpf CommandManager's RequerySuggested event that is fired if something in the Gui has changed.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Defines the method to be called when the command is invoked.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnCanExecuteChanged If called, will raise the CanExecuteChanged event. Call this function manually if CanExecute(Object) will return a different value than before.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also