[This is preliminary documentation and is subject to change.]

Options for MessageBox

Namespace: Tools.WindowsT.IndependentT
Assembly: 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 nameValueDescription
AlignLeft0Text is aligned left (default). In rtl reading aligns text to right.
AlignRight1Text is aligned right. In rtl reading aligns text to left.
AlignCenter2Text is aligned center
AlignJustify3Text is aligned to block. If target technology does not support AlignJustify treats it as AlignLeft.
AlignMask3Bitwise mask for AND-ing text alignment
Ltr0Left-to-right reading (default)
Rtl4Right-to-left reading
BringToFront8Force shows message box to the user even if application is not currently active
IsFlagsGets value indicating if given value is of enum type which has FlagsAttribute applied
GetNameGets name of given enumeration value
GetConstantGets constant field that represents given enum value
GetValueGets value of enum in its unedlying type
IsDefinedGets 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).

See Also