Hello everybody,
I'm working on a application which is communicating by network to monitor another application's variables.
The remote application has loads of variables, and I want to transfer only the variables that I'm currently watching on my user interface, to avoid overloading the network.
I try to keep the architecture of my application as clean as possible, with a model that doesn't know about the view, using bindings, etc.
I thought about refreshing my model data values only when the bindings are active (which mean that the usercontrol displaying some of the variables is shown), do you think it's a good solution? Otherwise, I could also work with the property "IsVisible" of each usercontrol... but I think it would be better to work on the model side of my application I think.
Do you know if there is a way to know if a binding is active or not?
If my question isn't clear enough, I could draw a small schema. Just tell me.
Thank you for your answers,