title: An integer value in WPF Resources?
body: <p>Is that possible to set an integer value in WPF control Resources?!</p>
  
  <pre><code>&lt;UserControl.Resources&gt;
  
      &lt;SolidColorBrush x:Key="MyLineBrush" Color="LightGreen" /&gt;
  
      ??? &lt;Integer x:Key="MyStrokeThickness" Value="2" /&gt; ???
  
  
      &lt;Style TargetType="local:MyLine" x:Key="MyLineStyleKey"&gt;    
  
          &lt;Setter Property="Stroke" 
              Value="{DynamicResource MyLineBrush}"/&gt;
  
          &lt;Setter Property="StrokeThickness" 
              Value="{DynamicResource MyStrokeThickness}"/&gt;
  
      &lt;/Style&gt;
  </code></pre>
  
  <p>In order to modify dynamically the <code>MyLineBrush</code> and <code>MyStrokeThickness</code> values...</p>