I have a Button
and use binding to a string (Name
property from class Person
)
I have the following code:
person1.name = "Name1";
Thread.Sleep(1000);
person1.name = "Name2";
With Binding I only see: Name2
after runtime.
I want to see Name1
then after 1 second see Name2
!
How can I realize this? Whats the best method for this?
I also want to use the MVVM - Pattern if this is important.