Skip to main content
All docs
V23.2

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.v23.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 ThemedMessageBox.

Optional Parameters

Name Type Default Description
defaultButton Nullable<MessageBoxResult> null

The ThemedMessageBox‘s default button. This button is focused when the ThemedMessageBox is shown.

messageBoxParameters ThemedMessageBoxParameters null

Properties that allow you to customize the ThemedMessageBox.

Returns

Type Description
MessageBoxResult

The ThemedMessageBox result value.

See Also