views:

365

answers:

0

Hello, I am trying to bind a value of a slider control to a property that is in the same control:

 <Slider 
        Value="{Binding Path=ValueProperty, RelativeSource={RelativeSource Self}}"
        Name="slider1"  />

but it doesn't bind to a "ValuePropery"... What am I doing wrong?