I have got a listbox. And the listbox items can be images, text, audio,video etc. The Items are fetched using Internet and sometimes the list becomes too long. I want to implement a "Go To Top" feature in my listbox which are used in many websites. As soon as the users start scrolling, a button appears which takes them to the top, and if they scroll back to the top, the button disappears.
The problem is I do not know what to do. If I disable the scrollviewer of my listbox and put the listbox inside a scrollviewer, then I do not know which of the scrollviewer's events and properties should I use?