System.Windows.Forms.MessageBoxOptions Enumeration

Specifies options on a System.Windows.Forms.MessageBox.

Syntax

[System.Flags]
public enum MessageBoxOptions

Remarks

This enumeration is used by the System.Windows.Forms.MessageBox class.

If you do not want to specify this parameter when calling methods on System.Windows.Forms.MessageBox, you can pass in 0 instead.

Members

Member NameDescription
DefaultDesktopOnly

The message box is displayed on the active desktop.

RightAlign

The message box text is right-aligned.

RtlReading

Specifies that the message box text is displayed with right to left reading order.

ServiceNotification

The message box is displayed on the active desktop.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0