Back to Devexpress

WinUIMessageBox.Show(String, String) Method

wpf-devexpress-dot-xpf-dot-windowsui-dot-winuimessagebox-dot-show-x28-system-dot-string-system-dot-string-x29.md

latest2.0 KB
Original Source

WinUIMessageBox.Show(String, String) Method

Displays the WinUIMessageBox with specified text and title.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public static MessageBoxResult Show(
    string messageBoxText,
    string caption
)
vb
Public Shared Function Show(
    messageBoxText As String,
    caption As String
) As MessageBoxResult

Parameters

NameTypeDescription
messageBoxTextString

A String value that is the text to be displayed within the current WinUIMessageBox.

| | caption | String |

A String value that is the WinUIMessageBox window caption.

|

Returns

TypeDescription
MessageBoxResult

A System.Windows.MessageBoxResult.OK value.

|

Remarks

A message box with unspecified buttons displays the ‘OK’ button by default and returns the MessageBoxResult.OK value.

See Also

WinUIMessageBox Class

WinUIMessageBox Members

DevExpress.Xpf.WindowsUI Namespace