I am attempting to work out the algorithm associated with sizing of the WPF Scrollbar thumb element.
The thumb element can be sized using the Scrollbar.ViewportSi
Here's a method that will override the thumb minimum width for all ScrollBar
s. There's 2 important reasons for using this setup.
1) This will not resize the ScrollBar
RepeatButton
s. (Why the style overrides Track
)
2) This will only resize the thumbs for Track
controls that are used in ScrollBar
s. (Why the Track
style is contained in a ScrollBar
style.