Skip to main content
A newer version of this page is available. .

WinUIMessageBox.Show Method

Name Parameters Description
Show(String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions) static messageBoxText, caption, button, icon, defaultResult, options Displays the WinUIMessageBox with specific text, title, icon, display options and set of buttons, one of which is set as default.
Show(String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult) static messageBoxText, caption, button, icon, defaultResult Displays the WinUIMessageBox with specific text, title, icon and set of buttons, one of which is set as default.
Show(String, String, MessageBoxButton, MessageBoxImage) static messageBoxText, caption, button, icon Displays the WinUIMessageBox with specific text, title, image and set of buttons.
Show(String, String, MessageBoxButton) static messageBoxText, caption, button Displays the WinUIMessageBox with specific text, title and set of buttons.
Show(String, String) static messageBoxText, caption Displays the WinUIMessageBox with specified text and title.
Show(String) static messageBoxText Displays the WinUIMessageBox with specified text.
Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions, FloatingMode, Boolean) static owner, messageBoxText, caption, button, icon, defaultResult, options, desiredFloatingMode, allowShowAnimatoin Displays the WinUIMessageBox with specific owner, text, title, icon, display options, floating mode, animation, and set of buttons, one of which is set as default.
Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions, FloatingMode) static owner, messageBoxText, caption, button, icon, defaultResult, options, desiredFloatingMode Displays the WinUIMessageBox with specific owner, text, title, icon, display options, floating mode and set of buttons, one of which is set as default.
Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions) static owner, messageBoxText, caption, button, icon, defaultResult, options Displays the WinUIMessageBox with specific owner, text, title, icon, display options and set of buttons, one of which is set as default.
Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult) static owner, messageBoxText, caption, button, icon, defaultResult Displays the WinUIMessageBox with specific owner, text, title, image and set of buttons, one of which is set as default.
Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage) static owner, messageBoxText, caption, button, icon Displays the WinUIMessageBox with specific owner, text, title, icon and set of buttons.
Show(FrameworkElement, String, String, MessageBoxButton) static owner, messageBoxText, caption, button Displays the WinUIMessageBox with specific owner, text, title and set of buttons.
Show(FrameworkElement, String, String) static owner, messageBoxText, caption Displays the WinUIMessageBox with specific owner, text and title.
Show(FrameworkElement, String) static owner, messageBoxText Displays the WinUIMessageBox with specified owner and text.