xtd 0.2.0
Loading...
Searching...
No Matches

◆ show() [6/16]

static dialog_result xtd::forms::message_box::show ( const iwin32_window owner,
const xtd::ustring text,
const xtd::ustring caption,
message_box_buttons  buttons,
message_box_icon  icon,
message_box_default_button  default_button 
)
static

Displays a message box in front of the specified window with the specified text, caption, buttons, icon, and default button.

Parameters
ownerAn implementation of iwin32_window that will own the modal dialog box.
textThe text to display in the message box.
captionThe text to display in the title bar of the message box.
buttonsOne of the message_box_buttons values that specifies which buttons to display in the message box.
iconOne of the message_box_icon values that specifies which icon to display in the message box.
default_buttonOne of the message_box_default_button values that specifies the default button for the message box.
Returns
One of the xtd::forms::dialog_result values.