I have an ItemsControl that is bound to a collection of Tests. Every Test contains a LogFile(the log files are huge and takes a long time to load). Every log file is displayed as a TextBox. Only one log file is visible most of the time.
Is there a way to determine if a TextBox is currently visible on the screen so I can load the corresponding LogFiles only if needed? I already use a ScrollViewer with my ItemsControl to display the scrollbars.