title: WPF - FocusVisualStyle where do i apply it?
body: <p>I have a <code>UserControl</code> which basically wraps a <code>ListBox</code> like this - </p>
  
  <pre><code>        &lt;ListBox x:Name="lb" ItemsSource="{Binding ElementName=UC,Path=Pages}"
               Background="{Binding ElementName=UC,Path=Background}"
               BorderBrush="Transparent"
               ScrollViewer.CanContentScroll="False" 
               ScrollViewer.HorizontalScrollBarVisibility="Hidden" 
               ScrollViewer.VerticalScrollBarVisibility="Disabled"&gt;
  
          &lt;ListBox.ItemsPanel&gt;
              &lt;ItemsPanelTemplate&gt;
                  &lt;StackPanel Orientation="Horizontal" IsItemsHost="True"/&gt;
              &lt;/ItemsPanelTemplate&gt;
          &lt;/ListBox.ItemsPanel&gt;
  
          &lt;ListBox.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;Grid Width="{Binding ElementName=UC,Path=ActualWidth}"&gt;
                      &lt;Grid.ColumnDefinitions&gt;
                          &lt;ColumnDefinition MinWidth="20"/&gt;
                          &lt;ColumnDefinition/&gt;
                          &lt;ColumnDefinition MinWidth="20"/&gt;
                      &lt;/Grid.ColumnDefinitions&gt;
                      &lt;ContentPresenter Grid.Column="1" Content="{Binding}"/&gt;
                  &lt;/Grid&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListBox.ItemTemplate&gt;
      &lt;/ListBox&gt;
  </code></pre>
  
  <p>I need to set the <code>FocusVisualStyle</code> to <code>{x:Null}</code> to hide this functionality but no matter where i apply it, i still get the default blue selection color.  I've tried setting it on the ListBox, StackPanel and the Grid but to no avail.</p>
  
  <p>Any help would be great. thanks.</p>