Name
MessageBoxDefaultButton
Synopsis
This enumeration determines which button should be the default accept
button in a MessageBox
. The left-most in a
left-to-right reading message box is Button1
.
public enum MessageBoxDefaultButton { Button1 = 0, Button2 = 256, Button3 = 512 }
Hierarchy
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable
,
System.IConvertible)
→ MessageBoxDefaultButton
Passed To
MessageBox.Show()
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.