title: Is There any way for style for specific control by name in wpf
body: <p>Set control color via resource.</p>
  
  <p>in resource file:</p>
  
  <pre><code>&lt;style TargetType="{x:Name button1}"&gt;
        &lt;setter Property="ColorBrush" Value="Red"/&gt;
  &lt;/style&gt;
  &lt;Window .... &gt;
      &lt;Button Name="Button1" Content="Test Button" /&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>like css in html</p>
  
  <pre><code> &lt;style&gt;
         #controlID
         {
           color:red;
         }
      &lt;/style&gt;
  &lt;body&gt;
        &lt;input id="button1" type="button" value="test button" /&gt;
  &lt;/body&gt;
  </code></pre>