ThemedMessageBox.Show(String, String, MessageBoxButton, Nullable<MessageBoxResult>, ThemedMessageBoxParameters) Method
Displays a ThemedMessageBox window. A result returned when the window is closed.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v25.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
public static MessageBoxResult Show(
string title,
string text,
MessageBoxButton messageBoxButtons,
MessageBoxResult? defaultButton = null,
ThemedMessageBoxParameters messageBoxParameters = null
)
Parameters
| Name | Type | Description |
|---|---|---|
| title | String | The window’s header text. |
| text | String | The window’s message text. |
| messageBoxButtons | MessageBoxButton | A set of buttons displayed in the |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| defaultButton | Nullable<MessageBoxResult> | null | The |
| messageBoxParameters | ThemedMessageBoxParameters | null | Properties that allow you to customize the |
Returns
| Type | Description |
|---|---|
| MessageBoxResult | The |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show(String, String, MessageBoxButton, Nullable<MessageBoxResult>, ThemedMessageBoxParameters) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.