开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜