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
If you're looking for how to set a minimum height for the scrollbar thumb:
From Ian (da real MVP) here:
scrollBar1.Track.ViewportSize = double.NaN;
scrollBar1.Track.Thumb.Height = Math.Max(minThumbHeight, DataScrollBar.Track.Thumb.ActualHeight);
Or you know, add 100+ lines of xaml code cause omgDATABINDING!!1!