Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public static UICommand Show(
        string title,
        string text,
        IEnumerable<UICommand> messageBoxButtons,
        ThemedMessageBoxParameters messageBoxParameters = null
    )

    Parameters

    Name Type Description
    title String

    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

    Name Type Default Description
    messageBoxParameters ThemedMessageBoxParameters null

    Properties that allow you to customize the ThemedMessageBox.

    Returns

    Type Description
    UICommand

    The clicked button’s UICommand value.

    See Also