Can a value converter execute on different thread?
If my Binding.IsAsync = true, then why doesn't my ValueConverter execute on the same "supposingly non-UI" thread?
开发者_开发技巧Is there any way to make it execute on that thread?
The documentation for IsAsync
suggests that only your property accessors will be called asynchronously. No mention of converters is made that I can find. I'm not entirely sure whether this is because it's technically not possible to call the converter on the BG thread, or perhaps it was overlooked. It seems to me that it should be possible.
As a workaround, can you move any heavy logic being performed by your converter into the property, or perhaps into a separate property altogether?
精彩评论