I have a Button and use binding to a string (Name property from class Person)
Button
Name
Person
I have the following code:
perso
Use ThreadPool like this:
person1.name = "Name1"; ThreadPool.QueueUserWorkItem(_ => { Thread.Sleep(1000); Dispatcher.BeginInvoke(new Action(() => { person1.name = "Name2"; })); });
Here you can find another post about ThreadPool in more details.
ThreadPool