Reputation: 595
In my application user can scroll up/down MainWindow.
Problem is, that when a user scrolls down MainWindow and some controls in it are not entirely visible ( for example user scrolled down and only the bottom of the control is visible) these controls are not refreshing/updating its values (provided via binding). I suspect that WPF is detecting, that control is not visible in some way and does not bother to update UI of it. So how can I force these controls to update their UI?
For example, in picture below there is some chart in the MainWindow.But the window is small and scrolled down so the chart is not entirely visible. It does not update, it is still. When I maximize the window chart starts updating. I want it to update always, no matter how small part of it is visible:
Upvotes: 0
Views: 670
Reputation: 20461
This is a virtualization problem, and you need to turn off virtualization for your chart (look at the chart vendor's documentation).
In the standard WPF controls there are many ways to do this.
Upvotes: 2