Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.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