ThemedMessageBox.Show(IEnumerable<UICommand>, Window, String, UIElement, MessageBoxImage, Boolean, 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 UICommand Show(
IEnumerable<UICommand> messageBoxButtons,
Window owner = null,
string title = null,
UIElement messageContent = null,
MessageBoxImage icon = MessageBoxImage.None,
bool usePngImages = false,
MessageBoxOptions options = MessageBoxOptions.None,
WindowStartupLocation windowStartupLocation = WindowStartupLocation.CenterOwner,
WindowTitleAlignment titleAlignment = WindowTitleAlignment.Left,
bool? showActivated = null
)
Parameters
Name | Type | Description |
---|---|---|
messageBoxButtons | IEnumerable<UICommand> | A set of |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
owner | Window | null | The window that owns the |
title | String | null | The window’s header text. |
messageContent | UIElement | null | The window’s message content. |
icon | MessageBoxImage | None | An image displayed in the |
usePngImages | Boolean | False |
|
options | MessageBoxOptions | None | The |
windowStartupLocation | WindowStartupLocation | CenterOwner | The |
titleAlignment | WindowTitleAlignment | Left | The header text alignment. |
showActivated | Nullable<Boolean> | null |
|
Returns
Type | Description |
---|---|
UICommand | A clicked button’s |