Top "Dispatcher" questions

In WPF and Silverlight, Dispatcher is an object that is used to execute work on a specific thread.

How to pass the UI Dispatcher to the ViewModel

I'm supposed to be able to access the Dispatcher that belongs to the View I need to pass it to …

.net wpf mvvm dispatcher
The calling thread cannot access this object because a different thread owns it.WPF

Whenever I refresh a label, I got this error: The calling thread cannot access this object because a different thread …

c# .net wpf multithreading dispatcher
"The calling thread must be STA, because many UI components require this" error when creating a WPF pop-up Window in thread

I have a WPF application in which a thread checks some value. In certain cases, I show a pop-up Window …

.net wpf multithreading dispatcher
Dispatcher Invoke(...) vs BeginInvoke(...) confusion

I'm confused why I can't make this test counter application work with 2 (or more) simultaneous running countertextboxes with the use …

c# multithreading invoke dispatcher begininvoke
Dispatcher.BeginInvoke: Cannot convert lambda to System.Delegate

I'm trying to call System.Windows.Threading.Dispatcher.BeginInvoke. The signature of the method is this: BeginInvoke(Delegate method, params …

c# wpf lambda dispatcher begininvoke
Multi-threaded WPF Application: Dispatcher Invoke. A more efficient way?

I am using .NET 3.5 . I am making a WPF application for a project and I was just looking a bit …

c# wpf multithreading dispatcher
Correct way to get the CoreDispatcher in a Windows Store app

I'm building a Windows Store app, and I have some code that needs to be posted to the UI thread. …

c# windows-runtime windows-store-apps async-await dispatcher
Understanding the WPF Dispatcher.BeginInvoke

I was under the impression that the dispatcher will follow the priority of the operations queued it and execute the …

c# wpf multithreading dispatcher
Using the WPF Dispatcher in unit tests

I'm having trouble getting the Dispatcher to run a delegate I'm passing to it when unit testing. Everything works fine …

c# .net wpf unit-testing dispatcher
How do I get the UI thread's Dispatcher?

Is there any way to get the UI thread's Dispatcher when you have no reference to any UI elements?

wpf multithreading dispatcher