multithreading - Is it guaranteed that handler for wpf view event is called in UI-thread -


if write handler of wpf event can sure executed in ui-thread , don't use additional checks? specification describe case? . belevie handler called in ui-thread haven't proofs

is guaranteed handler wpf view event called in ui-thread

yes, unless create background thread somewhere , raise event 1 somehow. , clarify, ui thread here means thread on control raised event created. can create controls on different ui threads default one. none of built-in ui controls raises events on background thread default.

so if don't create controls on background threads, ui events raised on main dispatcher thread.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -