WinUIMessageBox.Show(String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions) Method
Displays the WinUIMessageBox with specific text, title, icon, display options and set of buttons, one of which is set as default.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.2.dll
NuGet Package: DevExpress.Wpf.Controls
#Declaration
public static MessageBoxResult Show(
string messageBoxText,
string caption,
MessageBoxButton button,
MessageBoxImage icon,
MessageBoxResult defaultResult,
MessageBoxOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
message |
String | A String value that is the text to be displayed within the current Win |
caption | String | A String value that is the Win |
button | Message |
A Message |
icon | Message |
A Message |
default |
Message |
A Message |
options | Message |
A Message |
#Returns
Type | Description |
---|---|
Message |
A Message |