MessageBoxDefaultButton Enumeration |
Message box default button selection for a
MessageBox
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public enum MessageBoxDefaultButton
Public Enumeration MessageBoxDefaultButton
type MessageBoxDefaultButton
Members
| Member name | Value | Description |
---|
| Default | 0 |
Automatically select the default button, preferring the negative form first such as Cancel, then No.
|
| OK | 1 |
The OK button is default
|
| Yes | 1 |
The Yes button is default
|
| No | 2 |
The No button is default
|
| Cancel | 3 |
The Cancel button is default
|
Remarks
This enumeration specifies the default button of the message box, which is usually focussed when the message
box is shown, and selectable when the user presses the Return key.
See Also