WPF Adding a Tooltip to the Track of a Slider -


I've added a tooltip (shown below) to the track in the slider template, but the binding value for the current value Instead of the slider, I would like to bind the value compared to the "track value" which is over the mouse. Similar to what the YouTube video slider allows. The user can actually mousewalk the track and view the related value without actually moving the thumb.

  & lt; Track grid Rows = "1" name = "PART_Track" tooltip = "{binding path = value}" tooltip service. Placement = "Mouse" & gt; & Lt; / Track & gt;  

Any ideas? Thanks!

I thought that you are going to create a new control, slider. You will need to implement the mouse / out and Mousemov, calculate the value based on the mouse offset and change the tooltip.

I do not think there is any property that you can use "out of the box" if you need to factor in the recovery of margins etc. calculation can also be difficult.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -