Top "Dispatcher" questions

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

Must create DependencySource on same Thread as the DependencyObject

I bind observable dictionary from view model to view. I use Caliburn Micro Framework. View: <ListBox Name="Friends" SelectedIndex="{…

c# wpf mvvm caliburn.micro dispatcher
WPF Dispatcher.Invoke 'hanging'

I have a somewhat complex WPF application which seems to be 'hanging' or getting stuck in a Wait call when …

c# .net wpf invoke dispatcher
How to return a value with Dispatcher.Invoke?

Anyone knows how to return a value from Dispatcher.Invoke in wpf? I want to return the selected index for …

wpf return invoke dispatcher
Invoking WPF Dispatcher with anonymous method

I just realized in a C# .Net 4.0 WPF background thread that this doesn't work (compiler error): Dispatcher.Invoke(DispatcherPriority.Normal, …

c# .net wpf delegates dispatcher
WPF Dispatcher {"The calling thread cannot access this object because a different thread owns it."}

first I need to say that I´m noob with WPF and C#. Application: Create Mandelbrot Image (GUI) My dispatcher …

c# wpf dispatcher
Getting the right WPF dispatcher in a thread

In the constructor of an object i need to create a WPF mediaElement object: m_videoMedia = new MediaElement(); but the …

c# wpf dispatcher
Understanding the Silverlight Dispatcher

I had a Invalid Cross Thread access issue, but a little research and I managed to fix it by using …

c# wcf silverlight asynchronous dispatcher
Why BackgroundWorker always is busy?

I realized something strange in my background worker in my WPF application. What I'm trying to accomplish right now is …

c# wpf backgroundworker dispatcher dispatch
Error in C#: "An object reference is required for the non-static field, method, or property"

I wrote code in WPF. Firstly, I wrote a separate project to test work with a COM port device, and …

c# wpf delegates dispatcher
c# - Volatile keyword usage vs lock

I've used volatile where I'm not sure it is necessary. I was pretty sure a lock would be overkill in …

c# multithreading performance dispatcher volatile