ThemedMessageBox.Show(Window, String, String, MessageBoxButton, Nullable<MessageBoxResult>, ImageSource, MessageBoxOptions, WindowStartupLocation, WindowTitleAlignment, Nullable<Boolean>) Method
Displays a ThemedMessageBox
window. A result returned when the window is closed.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public static MessageBoxResult Show(
Window owner = null,
string title = null,
string text = null,
MessageBoxButton messageBoxButtons = MessageBoxButton.OKCancel,
MessageBoxResult? defaultButton = null,
ImageSource image = null,
MessageBoxOptions options = MessageBoxOptions.None,
WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner,
WindowTitleAlignment titleAlignment = WindowTitleAlignment.Left,
bool? showActivated = null
)
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
owner | Window | null | The window that owns the |
title | String | null | The window’s header text. |
text | String | null | The window’s message text. |
message |
Message |
OKCancel | A set of buttons displayed in the |
default |
Nullable<Message |
null | The |
image | Image |
null | An image displayed in the |
options | Message |
None | The |
window |
Window |
Center |
The |
title |
Window |
Left | The header text alignment. |
show |
Nullable<Boolean> | null |
|
#Returns
Type | Description |
---|---|
Message |
The |