I am trying to figure out how to do something that (should) be fairly simple.
What I want is to get an event to fire anytime a ListBox control is scrolled. The ListBox is dynamically created, so I need a way to do it from the code behind (however XAML solutions are appreciated as well, as it gives me something to start from).
Thanks in advance for any ideas.
In XAML you can access the ScrollViewer and add events like this:
Update
This is probably what you need in code behind:
With an implementation of GetVisualChildCollection: