Thursday, December 26, 2013

Window Runtime Component and property changed

Typically you would call PropertyChanged directly, not asynchronously.


That said, you should be able to call it through a dispatcher. I'm not sure what you mean by CoreDispatcher.RunAsync being a static method. RunAsync is not static and is called on a specific dispatcher object. Do you mean that you aren't finding the dispatcher correctly? Depending on the context your code is in you may need to cache the dispatcher reference or you may be able to get it from the current thread's corewindow.


No comments:

Post a Comment