Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
Rendering issues
posted

 Hi

I've got a tab control with about 6 charts on each tab. When switching tabs the charts on the
selected tab re-renders themselves, is there a way to stop this from happening each time the
tab is selected?

Parents
  • 28496
    Offline posted

    i think this is necessary because of how the tab control is designed; the chart gets removed from the visual tree whenever a new tab is selected, and it has to get re-added each time its tab becomes visible.  if you handle the chart's Loaded event, you should find that it's called repeatedly when you switch tabs.

     you can try setting RefreshEnabled = false on the chart control, but i'm not sure the results of that will be very positive.

Reply Children