title: A strange problem with WPF Window.Icon
body: <p>I'm going to set <code>Window.Icon</code> property by using <code>ResourceDictionary</code> like below:</p>
  
  <pre><code>&lt;Style TargetType="{x:Type Window}"&gt;
      &lt;Setter Property="Icon" Value="/WpfApplication1;component/Resources/Icon.ico" /&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>Above Style wasn't change Icon of Window. However when i set Icon of Window directly, It is done correctly!</p>
  
  <pre><code>&lt;Window Icon="/WpfApplication1;component/Resources/Icon.ico"&gt;
      //Content
  &lt;/Window&gt;
  </code></pre>
  
  <p>Note: <code>Build Action</code> of <code>Icon.ico</code> was set to <code>Resource</code> and <code>ResourceDictionary</code> also loaded.</p>