title: WPF: why my slider not show the minimum value on my label
body: <pre><code>&lt;Grid Margin="405,192,170,450" &gt;
      &lt;Slider Name="speedSlider" Value="1" Style="{StaticResource SliderStyle}" HorizontalAlignment="Left" VerticalAlignment="Bottom"
          Minimum="0" Maximum=" 50" TickFrequency="5" TickPlacement="None" Width="160"/&gt;
      &lt;Label Name="lblSliderSpeed" Content="{Binding ElementName=speedSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}"
               Grid.Column="1" VerticalAlignment="Bottom" HorizontalAlignment="Right" ContentStringFormat="{}{0:#}"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>My <code>label</code> show the current <code>slide</code> <code>value</code> while the <code>value</code> changing but at the <code>minimum value</code> (0) my <code>label</code> not shows any <code>value</code></p>
  
  <p>i also try this code behind and this still not helped although the if is executed:   </p>
  
  <pre><code>private void speedSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs&lt;double&gt; e)
      {
          double value = speedSlider.Value;
          if (value == 0)
          {
              lblSliderSpeed.Content = value;
          }
      }
  </code></pre>