Folks, the WPF ProgressBar control is wasting hours my time (as usual) by nonsensical behaviour.
I have a worker thread that does a regular Dispatcher.BeginInvoke to tell the UI to update a DataContext bound ProgressBar and TextBlock. I can see the TextBlock updating perfectly with a message stepping up to 100%. However, the ProgressBar seems to move once only and never moves again. I'm absolutely certain I'm setting the progress values in the range 0 to 100 as the control expects. I'm sure it's on the UI thread (or it would crash). The value changes at approx half second intervals. Why is the text updating correctly but the progress sticks? I'm completely out of ideas. Maybe it's the BeginInvoke, maybe there is something I have to do to the progress control to "wake it up". I'm stuffed. Any ideas anyone? Greg
