The issue here is a bit abstract. We all know, for a background thread to update some UI element.
Dispatcher.Invoke()
is the only option (Is it?). However, Dispatcher.Invoke() in itself delegates the update task to the UI thread. Considering scenarios where:
- A background thread too often updates a UI.
- Tens of thread update the same UI.
The Dispatcher object would keep on delegating the update task to the UI thread and the UI thread may go slow. What can be a possible solution? How could we solve such an issue in Windows Forms where the threading model was very similar to that of WPF? Does WPF provide any other threading technique?
regards,