更新时间:2023-02-17 14:08:19
您可以使用棱镜事件聚集,以确保您的UI线。在这里看到: http://neverindoubtnet.blogspot.com/ 2009/05 /事件汇聚功能于棱镜explorer.html
You can use the prism event aggregator to ensure that you are on the UI thread. See here: http://neverindoubtnet.blogspot.com/2009/05/event-aggregator-in-prism-explorer.html