title: How can I create a style that is not automatically applied?
body: <p><a href="https://stackoverflow.com/a/16539347/5962841">In this answer</a> it is being (correctly? it seems..) claimed thant if you omit the <code>x:Name</code> attribute the style is automatically applied everywhere.</p>
  
  <blockquote>
    <p>If you don't specify an identifier on each Style, that style will apply to all controls that match with the TargetType you specified. If you want button to look different, you can do the same as above, but also include an identifier to that style, that will be used by each different button: [...]</p>
  </blockquote>
  
  <p>However, when I add a <code>x:Name</code> indentifier, it should <strong>not</strong> be automatically applied, or should it?</p>
  
  <p>Because when I try this:</p>
  
  <pre><code>&lt;Style TargetType="{x:Type TextBlock}" x:Name="RunningTextStyle"&gt;
      &lt;Setter Property="FontSize" Value="15" /&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>in my <code>ResourceDictionary</code> that is linked into my <code>app.xaml</code> this way:</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;ResourceDictionary Source="ApplicationStyles.xaml" /&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>It does still automatically apply to all <code>TextBlock</code>s.</p>
  
  <p>How do I create a style that has to be used with its indentifier to show up?</p>
  
  <p>I use Resharper in VS2015 and the <code>x:Key</code> name doesn't even show up when I try to add the style to a <code>TextBlock</code> manually this way: <code>Style="{StaticResource ...}"</code> definition as a possibility (I had it once this way and it did. It works, but normally it's being advertised by R# or VS to be used). </p>
  
  <p>Interestingly enough, I had just a few hours before the other way around, where my <code>Button</code> style wasn't automatically applied.</p>