# MessageBoxButtons 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 MessageBoxButtons
```

Message box buttons for methods of [MessageBox](https://eto.picoe.ca/api/type/eto.forms.messagebox.md)

**Remarks:** This defined which buttons to show on the message box. If there are different buttons you require, you can use [Dialog](https://eto.picoe.ca/api/type/eto.forms.dialog.md) instead to create your own.

## Values

| Name | Value | Description |
| --- | --- | --- |
| OK | 0 | Only a single OK button |
| OKCancel | 1 | OK and Cancel buttons |
| YesNo | 2 | Yes and no buttons |
| YesNoCancel | 3 | Yes, no, and cancel buttons |
