Binding to a RelativeSource Self in Silverlight

Posted by Boris on Stack Overflow See other posts from Stack Overflow or by Boris
Published on 2010-04-21T07:59:06Z Indexed on 2010/04/21 8:03 UTC
Read the original article Hit count: 398

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?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about binding