I've tried using the examples from MSDN for this but they seem to only be applicable to Windows Forms. For instance the method of using .InvokeRequired relies on the windows forms control, however this method isn't available for WPF controls. The Backgound worker method throws an InvalidOperationException
as well -
The calling thread cannot access this object because a different thread owns it.
So how can this be done in the context of WPF?