Back to Devexpress

ThemedMessageBox.Show(String, String, IEnumerable<UICommand>, ThemedMessageBoxParameters) Method

wpf-devexpress-dot-xpf-dot-core-dot-themedmessagebox-dot-show-x28-string-string-ienumerable-uicommand-themedmessageboxparameters-x29.md

latest2.4 KB
Original Source

ThemedMessageBox.Show(String, String, IEnumerable<UICommand>, 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

csharp
public static UICommand Show(
    string title,
    string text,
    IEnumerable<UICommand> messageBoxButtons,
    ThemedMessageBoxParameters messageBoxParameters = null
)
vb
Public Shared Function Show(
    title As String,
    text As String,
    messageBoxButtons As IEnumerable(Of UICommand),
    messageBoxParameters As ThemedMessageBoxParameters = Nothing
) As UICommand

Parameters

NameTypeDescription
titleString

The window’s header text.

| | text | String |

The window’s message text.

| | messageBoxButtons | IEnumerable<UICommand> |

A set of UICommands displayed in the ThemedMessageBox.

|

Optional Parameters

NameTypeDefaultDescription
messageBoxParametersThemedMessageBoxParametersnull

Properties that allow you to customize the ThemedMessageBox.

|

Returns

TypeDescription
UICommand

The clicked button’s UICommand value.

|

See Also

ThemedMessageBox Class

ThemedMessageBox Members

DevExpress.Xpf.Core Namespace