DevMessageBoxShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) Method

Displays a message box with the specified text, caption, buttons, icon, default button, and options.

Definition

Namespace: DevCase.UI.Dialogs
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual DialogResult Show(
	string text,
	string caption,
	MessageBoxButtons buttons,
	MessageBoxIcon icon,
	MessageBoxDefaultButton defaultButton,
	MessageBoxOptions options
)

Parameters

text  String
The text to display in the message box.
caption  String
The text to display in the title bar of the message box.
buttons  MessageBoxButtons
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
icon  MessageBoxIcon
One of the MessageBoxIcon values that specifies which icon to display in the message box.
defaultButton  MessageBoxDefaultButton
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
options  MessageBoxOptions
One of the MessageBoxOptions values that specifies which display and association options will be used for the message box.

You may pass in 0 if you wish to use the defaults.

Return Value

DialogResult
One of the DialogResult values.

See Also