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.5.3-dev
public enum MessageBoxDefaultButton
  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
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