Accueil > Non classé > ToolTip on moving thumb for slider

ToolTip on moving thumb for slider

I try to find a solution for having in slider a tooltip moving under thumb when i drag it

after reading somes post like :https://stackoverflow.com/questions/1178134/wpf-adding-a-tooltip-to-the-track-of-a-slider
i think that restyle slider is not a good solution when you using already restyled slider as mahapp for example
and microsoft good explain for tooltip position : https://docs.microsoft.com/fr-fr/dotnet/framework/wpf/controls/how-to-position-a-tooltip

So i find a better solution (more simple) with an attached property

and using like this

we can find many improvment about this helper, but this is the first draft

Categories: Non classé Tags:
  1. Pas encore de commentaire
  1. Pas encore de trackbacks