Click or drag to resize

RelayCommandT Class

Command to relay execution and execute state to delegates
Inheritance Hierarchy
SystemObject
  Eto.FormsRelayCommandT
    Eto.FormsRelayCommand

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class RelayCommand<T> : ICommand

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.RelayCommand`1"]

The RelayCommandT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCanExecute
Determines whether this command can execute with the specified parameter.
Public methodExecute
Executes the command with the specified parameter.
Protected methodOnCanExecuteChanged
Raises the CanExecuteChanged event.
Public methodUpdateCanExecute
Tells consumers of this command that the CanExecute(Object) state has changed and should be queried again.
Top
Events
  NameDescription
Public eventCanExecuteChanged
Occurs when the return value of CanExecute(Object) is changed.
Top
See Also