Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Know when UIElement is shown on screen

$
0
0

Hi there,

So I have a wrap panel with a scrollbar and I'm putting a bunch of controls in them.  I would like to perform actions when the controls become visible (are scrolled into view), either just for the first time or any time.

Is there a way to detect when a UI element is either on screen and visible or off screen and not visible?

Many thanks in advance.


Somewhere out there...


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>