A newer version of this page is available. Switch to the current version.

WinUIMessageBox Class

A Windows Modern UI-styled message box.

Namespace: DevExpress.Xpf.WindowsUI

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


public class WinUIMessageBox :


Use the WinUIMessageBox.Show method to display a message box stretched across the entire application window, which emulates messages seen in Windows Modern applications.

The following code snippet displays the WinUIMessageBox.

WinUIMessageBox.Show(messageBoxText: "Service is not responding.\r\nRetry the connection?", caption: "Confirmation", button: MessageBoxButton.YesNo);

WPF - Notifications - WinUI Message

The WinUIMessageBox supports WPF Themes.


Refer to the WinUIMessageBox topic for more information on the WinUIMessageBox MVVM service.

See Also