I have created a custom template for the scrollbar (horizontal) which contains now just the two scroll buttons without the scrollbar, both of which are in a separate grid column. I want the right button to disappear when we can no longer scroll to the right and vice versa for the left button. I can set the scrollbar visibility in the scrollviewer template to:
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
Which will only show the scrollbar when necessary but don’t see any property within the scrollbar that would expose when the scrollbar has reached its rightmost or leftmost position that I could bind the visibility property to… Not sure really how to go about this one so any advice would be great.