I’d like to access the Scrollbar from within my ScrollViewer.
I think it’s hidden somewhere within the ScrollViewer’s template, is there a way for me to access, and get a reference to it programmatically?
So if I have
<ScrollViewer x:Name="myScrollViewer">
In the code behind I’d like to go:
ScrollBar scrollBar = myScrollViewer.GetScrollBar();
(obviously, I assume it’d be trickier than just that)
I think I got it….