title: Slider Minimum / Maximum binding to Int constant
body: <p>I have an integer constants to define minimum and maximum values of some integer data, and i want to bind them to a Slider control properties like im doing on another numeric editor, but seems impossible.</p>
  
  <p>Is there any easy way to acomplish this? Maybe with value converters, or Im missing something?</p>
  
  <p>A bit of example code:</p>
  
  <pre><code>public const Int32 EXAMPLE_MIN_VALUE = 23;
  public const Int32 EXAMPLE_MAX_VALUE = 55;
  </code></pre>
  
  <p>This works ok, im using an integer editor of WpfToolkit:</p>
  
  <pre><code>&lt;WpfToolkit:IntegerUpDown Value="{Binding ExampleValue}" 
      Minimum="{x:Static Model:Configuracion.EXAMPLE_MIN_VALUE}" 
      Maximum="{x:Static Model:Configuracion.EXAMPLE_MAX_VALUE}" /&gt;
  </code></pre>
  
  <p>But when I try the same with Slider, it crash:</p>
  
  <pre><code>&lt;Slider Value="{Binding ExampleValue}" 
      Minimum="{x:Static Model:Configuracion.EXAMPLE_MIN_VALUE}" 
      Maximum="{x:Static Model:Configuracion.EXAMPLE_MAX_VALUE}" /&gt;
  </code></pre>