I have a problem with data binding in WPF.
I would like to “adjust” the slider so that the thumb grows when you move the slider to the right, and the thumb contracts when you move the slider to the left.
So, I edited the template for the slider and changed the appearance of the slider, so the slider looks like I want it.
But now I need to bind the height of the thumb to the value of the slider, but I do not know how this works.
I made some simple data related to things, but I can’t understand how I can attach this “thumb height”, which is inside my slider template, to the value of the slider, which is inside the user control where my slider is located.
So how can I do this?
source share