I have a ScrollViewer with a static height that houses a collection of ListBoxes. Whenever the ListBoxes do not trigger the appearance of the ScrollBar, I'd like to populate them with fake data (for visual purposes).
As I add elements to the list (in my ViewModel), the ScrollableHeight/ExtentHeight does not change; I'm guessing that it is because the front end is not updating. Is there a way for me to force the UI to update before I add another listbox item? Right now, I get stuck in a loop until my application crashes.
Thank you.