[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.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[FlagsAttribute] public enum MessageBoxOptions |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration MessageBoxOptions |
| Visual C++ |
|---|
[FlagsAttribute] public enum class MessageBoxOptions |
| F# |
|---|
[<FlagsAttribute>] type MessageBoxOptions |
| JScript |
|---|
public enum MessageBoxOptions |
Members
| Member name | Value | Description | |
|---|---|---|---|
| AlignLeft | 0 | Text is aligned left (default). In rtl reading aligns text to right. | |
| AlignRight | 1 | Text is aligned right. In rtl reading aligns text to left. | |
| AlignCenter | 2 | Text is aligned center | |
| AlignJustify | 3 | Text is aligned to block. If target technology does not support AlignJustify treats it as AlignLeft. | |
| AlignMask | 3 | Bitwise mask for AND-ing text alignment | |
| Ltr | 0 | Left-to-right reading (default) | |
| Rtl | 4 | Right-to-left reading | |
| BringToFront | 8 | Force shows message box to the user even if application is not currently active | |
| IsFlags | Gets value indicating if given value is of enum type which has FlagsAttribute applied | ||
| GetName | Gets name of given enumeration value | ||
| GetConstant | Gets constant field that represents given enum value | ||
| GetValue | Gets value of enum in its unedlying type | ||
| IsDefined | Gets value idicating if given value is defined as constant in enumeration |
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).