title: How to remove the dotted outline for the header of Expander control in WPF (C#)?
body: <p>How to remove the dotted outline for the header of Expander control in WPF (C#)?</p>
  
  <p>I tried by making FocusVisualStyle to null but no luck. Is there any other approach?</p>
  
  <pre><code>&lt;UserControl x:Class="MyControl"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Height="373" Width="669"&gt;
      &lt;Expander FocusVisualStyle="{x:Null}" Expanded="expander1_Expanded" Focusable="False" Foreground="DarkBlue" Header="My Header" Height="219" Name="expander1" Width="525"&gt;
  
  .....
  </code></pre>