# KeyEventType enum

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

```cs
public enum KeyEventType
```

Type of key event

## Values

| Name | Value | Description |
| --- | --- | --- |
| KeyDown | 0 | The key was pressed |
| KeyUp | 1 | The key was released |
