# RelayCommand class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class RelayCommand : RelayCommand<object>
```

Command to relay execution and execute state to delegates

## Constructors

- [RelayCommand](https://eto.picoe.ca/api/type/eto.forms.relaycommand/ctor.md): (2 overloads) Initializes a new instance of the [RelayCommand](https://eto.picoe.ca/api/type/eto.forms.relaycommand.md) class.

## Inherited Members

- From [RelayCommand<T>](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1.md): [CanExecuteChanged](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1/canexecutechanged.md), [CanExecute](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1/canexecute.md), [Execute](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1/execute.md), [OnCanExecuteChanged](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1/oncanexecutechanged.md), [UpdateCanExecute](https://eto.picoe.ca/api/type/eto.forms.relaycommand-1/updatecanexecute.md)
