inotifypropertychanged - WPF Are NotifyPropertyChangeds marshalled to the dispatcher? -


if update property throws notifypropertychanged on thread other bound control's dispatcher update forcibly marshalled dispatcher?

backgrounworker.run() => { blah.blahness = 2; // notifies property changed on bw, marshalled dispatcher? } 

yes, propertychanged event automatically marshalled ui dispatcher, don't need use invoke marshall explicitly.

note true change notifications on scalar properties (i.e. propertychanged event). collection change notifications (inotifycollectionchanged.collectionchanged event) don't work way, must raised on ui thread manually. wrote class automatically, can find here.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -