We can’t update the WPF UI components from a thread, that is not owning the UI Component. When we try to update any UI elements from another thread, we will get the exception
“The calling thread cannot access this object because a different thread owns it”
We can achieve this functionality using the Dispatcher. Following code tries to bind the data to the View[custom control] control from another thread.
View.DataContext = Data;