Click or drag to resize

MessageBoxDefaultButton Enumeration

Message box default button selection for a MessageBox

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public enum MessageBoxDefaultButton
Members
  Member nameValueDescription
Default0 Automatically select the default button, preferring the negative form first such as Cancel, then No.
OK1 The OK button is default
Yes1 The Yes button is default
No2 The No button is default
Cancel3 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