Search code examples
c#wpfmessagebox

Is there a MessageBox equivalent in WPF?


Is there a standard message box in WPF, like WinForms' System.Windows.Forms.MessageBox.Show(), or should I use the WinForms message box?


Solution

  • The WPF equivalent would be the System.Windows.MessageBox. It has a quite similar interface, but uses other enumerations for parameters and return value.