WPF 4.5 中是否确实取消了对空域的支持? [英] Has Airspace Support Definitely Been Dropped in WPF 4.5?

查看:20
本文介绍了WPF 4.5 中是否确实取消了对空域的支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我写这个问题时,.NET 4.5 测试版发布 2 天后,What's New in WPF 4.5 Version 4.5 Beta 在 MSDN 页面上仍将将 WPF 与 win32 图形用户界面集成"列为WPF 4.5 提供改进的领域.该页面讨论了 HwndHost 上支持此功能的两个新属性:IsRedirectedCompositionMode.此外,顶级 .NET 4.5 Beta 中的新功能 页面提到此集成是一项新功能.

As I write this question, 2 days after the beta of .NET 4.5 was released, the What's New in WPF 4.5 Version 4.5 Beta page on MSDN still lists "Integrating WPF with win32 Graphical User Interfaces" as an area in which WPF 4.5 offers improvements. That page talks about the two new properties on HwndHost that support this: IsRedirected and CompositionMode. Also, the top-level what's new in .NET 4.5 beta page mentions this integration as a new feature.

同样,在我写这篇文章的时候,有这两个项目的页面.你有 IsRedirected here此处为CompositionMode.(2014 年 1 月 27 日更新:原始页面不再可用,因此我已将这些链接移至 Internet Archive 副本.)

Again, as I write this, there are pages for those two items. You've got IsRedirected here and CompositionMode here. (Update 27th Jan 2014: original pages no longer available, so I've moved these links to point to the Internet Archive copies.)

但是,如果您转到 HwndHost 本身,这些属性都不存在.而且它们似乎也不在 Visual Studio 中.

However, if you go to the docs for HwndHost itself, neither of those properties is present. And they don't appear to be in Visual Studio either.

因此,谣言似乎是真的 - 互操作的空域改进似乎已被放弃.但是,以防万一来自 Microsoft 的任何人正在阅读本文,如果 a) 我们可以得到肯定的确认并且 b) 上面提到的页面可以更新以停止我们的希望,那就太好了.

So it would appear that the rumours are true - it looks like the airspace improvements for interop have been dropped. But just in case anyone from Microsoft is reading this, it would be good if a) we could get positive confirmation and b) the pages mentioned above could be updated to stop getting our hopes up.

2014 年 1 月 27 日更新:我已将 IsRedirected 和 CompositionMode 的链接更新为指向 Internet Archive,因为原始链接现已失效.另请注意,What's New 页面不再提及这一点,因为这些链接现在是最终版本.当我最初在 此存档页面此处.

Update 27th Jan 2014: I've updated the links for IsRedirected and CompositionMode to point into the Internet Archive, because the original links are now dead. Also note that the What's New pages no longer mention this because those links are now for the final release. You can see the old pages that were current when I originally asked this question at this archived page and here.

推荐答案

带回 HwndHost.IsRedirected 和 CompositionMode" 已在 Visual Studio UserVoice 上发布.

A suggestion to "Bring back the HwndHost.IsRedirected and CompositionMode" was posted at the Visual Studio UserVoice.

微软拒绝了,说:

此时,我们将无法将该功能添加到 WPF 和 .NET Framework.

at this time, we will not be able to add the feature to WPF and the .NET Framework.

看起来您链接的 MSDN 页面也已被删除.

It also looks like the MSDN pages you linked to have been taken down.

这篇关于WPF 4.5 中是否确实取消了对空域的支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆