title: WPF MessageBox window style
body: <p>How to apply the default Windows style to the standard <code>MessageBox</code> in WPF?</p>
  
  <p>For example, when I execute next code:</p>
  
  <pre><code>MessageBox.Show("Hello Stack Overflow!", "Test", MessageBoxButton.OKCancel, 
      MessageBoxImage.Exclamation);
  </code></pre>
  
  <p>I'm getting message box:</p>
  
  <p><img src="https://i.stack.imgur.com/gbd7z.png" alt="enter image description here"></p>
  
  <p>But in WinForms everything is OK with style:</p>
  
  <pre><code>MessageBox.Show("Hello Stack Overflow!", "Test", MessageBoxButtons.OKCancel, 
      MessageBoxIcon.Exclamation);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/TRROw.png" alt="enter image description here"></p>