MessageBoxShow Method
Shows
MessageBox with specified text, title text, buttons, icon and optionally the
Close button.
Namespace: BeeMobile.MessageBoxAssembly: BeeMobile.MessageBox.AVA (in BeeMobile.MessageBox.AVA.dll) Version: 11.0.0.0+25fcde4cb1146137b36e11419a35b5b60dc956f0
public static void Show(
string sText,
string sTitle,
string[] buttons,
Action<MessageBoxDismissedEventArgs>? dismissHandler = null,
bool bHasCloseButton = false,
MessageBoxIconEnum icon = MessageBoxIconEnum.Information
)
static member Show :
sText : string *
sTitle : string *
buttons : string[] *
?dismissHandler : Action<MessageBoxDismissedEventArgs> *
?bHasCloseButton : bool *
?icon : MessageBoxIconEnum
(* Defaults:
let _dismissHandler = defaultArg dismissHandler null
let _bHasCloseButton = defaultArg bHasCloseButton false
let _icon = defaultArg icon MessageBoxIconEnum.Information
*)
-> unit
Parameters
- sText String
- Contains text to be displayed in MessageBox body.
- sTitle String
- Contains text to be displayed in MessageBox title.
- buttons String
- Contains an array of strings which specify buttons to be displayed by MessageBox.
- dismissHandler ActionMessageBoxDismissedEventArgs (Optional)
- Method to be excuted by MessageBox as soon as it is dismissed.
- bHasCloseButton Boolean (Optional)
- Should MessageBox display a Close button in its upper-right corner?
- icon MessageBoxIconEnum (Optional)
- Specifies what icon should be displayed in upper-left corner of MessageBox.
| NotSupportedException | Thrown, if
- buttons is null or
- buttons is empty or
- buttons contains more than 4 strings
|