WinUIMessageBox.Show(FrameworkElement, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult) Method
Displays the WinUIMessageBox with specific owner, text, title, image 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(
FrameworkElement owner,
string messageBoxText,
string caption,
MessageBoxButton button,
MessageBoxImage icon,
MessageBoxResult defaultResult
)
#Parameters
Name | Type | Description |
---|---|---|
owner | Framework |
A Framework |
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 |
#Returns
Type | Description |
---|---|
Message |
A Message |