Displaying current time above the thumb of a slider in Silverlight

Posted by Scharrels on Stack Overflow See other posts from Stack Overflow or by Scharrels
Published on 2010-06-17T07:10:32Z Indexed on 2010/06/17 7:13 UTC
Read the original article Hit count: 254

Filed under:
|
|
|
|

I've made a time slider in Silverlight. To style it, I've made a control template and modified the style. I've added a text field above the thumb (always centered above the thumb), which should display the time.

However, I can't find any way to access the slider information (e.g. current value) or find another way to pass any information to the style, which I can then data bind to the text field.

So my question in short: how can I display time information above the thumb?

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight