WPF MessageBox window style
How to apply the default Windows style to the standard MessageBox in WPF? For example, when I execute next code: MessageBox.Show("Hello Stack Overflow!", "Test", MessageBoxButton.OKCancel, MessageBoxImage.Exclamation); I'm getting message box: But in WinForms everything is OK with style: MessageBox.Show("Hello Stack Overflow!", "Test", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation); Gimno According to this page, WPF picks up the old styles for some of the controls. To get rid of it, you have to create a custom app.manifest file (Add -> New item -> Application Manifest File) and paste