在WPF 4.5中是否已确定放弃空域支持? [英] Has Airspace Support Definitely Been Dropped in WPF 4.5?

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

问题描述

在撰写此问题时,.NET 4.5 Beta发布两天后, MSDN上WPF 4.5版4.5 Beta中的新增功能页仍列出将WPF与Win32图形用户界面集成 WPF 4.5可以改进的地方。该页面讨论了 HwndHost 上的两个新属性,它们支持以下内容: IsRedirected CompositionMode 。另外,顶级页中提到的新功能。

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.

同样,在我写这篇文章时,其中有两个页面。您已经此处已重定向此处的CompositionMode 。 ( 2014年1月27日更新:原始页面不再可用,因此我已将这些链接移至指向Internet存档副本。)

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存档,因为原始链接现在已失效。另请注意,新内容页面不再提及此内容,因为这些链接现已用于最终版本。您可以在此存档页面此处

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.

推荐答案

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

Microsoft拒绝了它,说:

Microsoft declined it, saying:


目前,我们将无法将该功能添加到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天全站免登陆