tags:

views:

67

answers:

1

I want to put a slider in a datagrid cell and the row has a height of 20, so i'd like to make the height of the thumb of the slider smaller than that. I set the height of the slider itself, but the thumb appears to be cut off (i.e. it doesn't scale down to the height that I specify in the slider.height property). I don't want to have to override the entire control template of the slider control to do this. There's got to be some way of setting a property or something like that.

Edit: Even when I create a custom slider style which includes the custom thumb style with the sizes I want, it still doesn't size right.

Any ideas?

A: 

just see this link http://stackoverflow.com/questions/2689406/binding-a-slider-value-on-the-height-of-its-thumb-in-wpf

may be this can help you

Kishore Kumar
That's the one thing I was hoping that I didn't have to do. I would think there would be another way to change the thumb height of a slider control by setting a property instead of having to go through the whole control template override process.
BrianP