Change WPF controls from a non-main thread using Dispatcher.Invoke Change WPF controls from a non-main thread using Dispatcher.Invoke wpf wpf