Updated:
This may be an easy or a complex question, but in wpf, I have a listbox that I fill in with a datatemplate from a list.
Is there a way to find out if a particular datatemplate item is in the viewport ie, I have scrolled to its position and it is viewable?
Currently I hooked into the listbox_ScrollChanged event, and this gives me the ScrollChangedEventArgs, but I haven't found the right property...
Any help would be much appreciated, thanks!