Suppose I have normal button.Click
event.
If I try to access UI elements from inside of this event I could potentially got unwanted behavior - or even an exception (when debugging). The usual exception in such a scenario is: ...cannot access UI elements from thread different than they were created in
.
Since this is another thread (different than the main) why my UI is blocked when I perform time consuming operations in an event?