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