Name

MessageBoxOptions

Synopsis

This enumeration provides several additional options to a MessageBox, including the right-to-left status (RtlReading), whether the box should always be shown on the DefaultDesktopOnly, whether it should RightAlign the text, and whether this is a ServiceNotification (i.e., the MessageBox is shown even if no user is logged on to the system).


public enum MessageBoxOptions {

   DefaultDesktopOnly = 0x00020000,

   RightAlign = 0x00080000,

   RtlReading = 0x00100000,

   ServiceNotification = 0x00200000

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) MessageBoxOptions

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.