[This is preliminary documentation and is subject to change.]
Options for MessageBox
Namespace:
Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.2.0
Syntax
| C# |
|---|
[FlagsAttribute] public enum MessageBoxOptions |
| Visual Basic (Declaration) |
|---|
<FlagsAttribute> _ Public Enumeration MessageBoxOptions |
| Visual C++ |
|---|
[FlagsAttribute] public enum class MessageBoxOptions |
| J# |
|---|
/** @attribute FlagsAttribute */ public enum MessageBoxOptions |
| JScript |
|---|
public enum MessageBoxOptions |
Members
| Member name | Description | |
|---|---|---|
| AlignLeft | Text is aligned left (default). In rtl reading aligns text to right. | |
| AlignRight | Text is aligned right. In rtl reading aligns text to left. | |
| AlignCenter | Text is aligned center | |
| AlignJustify | Text is aligned to block. If target technology does not support AlignJustify treats it as AlignLeft. | |
| AlignMask | Bitwise mask for AND-ing text alignment | |
| Ltr | Left-to-right reading (default) | |
| Rtl | Right-to-left reading | |
| BringToFront | Force shows message box to the user even if application is not currently active |
Remarks
Values of this enumeration can be combined as long as they fall to different groups. There are three groups of values -
Align (AlignCenter,AlignJustify, AlignLeft, AlignRight),
Text flow (Ltr, Rtl) and
Focus (BringToFront).