WPF: Turning off animations, data binding temporarly for invisible objects?;)

Posted by TomTom on Stack Overflow See other posts from Stack Overflow or by TomTom
Published on 2010-04-27T10:52:55Z Indexed on 2010/04/27 10:53 UTC
Read the original article Hit count: 288

Filed under:
|

I have a window that contains a tab control - basically multiple sheets with visualizations on them. The visualtizations are:

  • possible very resource intensive during rendering
  • relying on constant data updates to update their underlying models

Obviously only one sheet can be visible every time ;)

Anyone knows of a good way to turn off all visualization, animations, data binding for a control / panel and it's contained controls? If I would find a way to do that, I could simply turn off all the invisible sheets and reactivate them as needed.

The models must be kept running - some of the visual stuff is pretty complex and really relies on constant data updates, and recalculating it when someone switches tabs would be too hard.

© Stack Overflow or respective owner

Related posts about wpf-binding

Related posts about wpf