Windows Presentation Foundation:修订间差异

跳转到导航 跳转到搜索
添加72字节 、​ 2025 年 4 月 23 日 (星期三)
第 7 行: 第 7 行:
从 [[Windows Vista]] 开始,WPF 运行时库包含在 [[Microsoft Windows|Windows]] 中。可以使用 Visual Studio IDE 和 Microsoft Blend(以前称为 Microsoft Expression Blend)创建 WPF 应用程序。此系统使用一种称为 XAML 的基于 XML 的语言来定义用户元素,并通过使用 Microsoft Silverlight 扩展到 Web 上。
从 [[Windows Vista]] 开始,WPF 运行时库包含在 [[Microsoft Windows|Windows]] 中。可以使用 Visual Studio IDE 和 Microsoft Blend(以前称为 Microsoft Expression Blend)创建 WPF 应用程序。此系统使用一种称为 XAML 的基于 XML 的语言来定义用户元素,并通过使用 Microsoft Silverlight 扩展到 Web 上。


== Development ==
== 开发历程 ==
According to comments in the .NET Framework 4.5 reference source, development of Avalon began on or prior to April 13, 2001, before the release of [[Windows XP]], though it's referenced in an internal Microsoft document from January 2001<ref>http://iowa.gotthefacts.org/011607/8000/PX08256.pdf</ref> discussing features for "Whistler+1" (later Longhorn) under the heading "Presentation Reform", which stated the goal of Avalon as "I want us to be able to construct rich UI easily simply by editing an XML document". This is likely when Avalon was first being planned, since it predates a formal codename or even the name of XAML
根据 .NET Framework 4.5 参考源中的注释,Avalon 的开发始于 2001 年 4 月 13 日或之前,即 [[Windows XP]] 发布之前,尽管在 2001 年 1 月的 Microsoft 内部文档中引用了它<ref>http://iowa.gotthefacts.org/011607/8000/PX08256.pdf</ref>,此文档在标题为“表示改革”下讨论了“Whistler 1”(后来的 Longhorn)的功能,此文档将 Avalon 的目标描述为“I want us to be able to construct rich UI easily simply by editing an XML document(我希望我们能够通过编辑 XML 文档轻松构建丰富的 UI)”。这可能是 Avalon 最初计划的时候,因为它早于正式的代号,甚至早于 XAML 的名称。


Avalon was first introduced in PDC 2003 alongside [[WinFS]], as part of the Longhorn technology wave, though it had already been implemented in Longhorn builds as early as 3683. At PDC, Microsoft explained how Avalon is a vector graphics-based app interface engine, how easy it is to program it with WinFX (later known as .NET Framework 3.0) and what it enables for applications (such as transparency and app animations).<ref>https://www.itprotoday.com/windows-78/live-pdc-2003-day-1-monday</ref> Even during Longhorn's Omega-13 period, Microsoft continued shipping CTPs of WinFX, including in November 2004, though the CTPs were intended for Windows XP and Server 2003, since Microsoft announced that WinFX was coming to XP/2003.
Avalon 首次在 PDC 2003 中与 [[WinFS]] 一起推出,作为 Longhorn 技术浪潮的一部分,尽管它早在 3683 就已经在 Longhorn 版本中实现。在 PDC 上,Microsoft 解释了 Avalon 如何成为基于矢量图形的应用程序界面引擎,使用 WinFX(后来称为 .NET Framework 3.0)对其进行编程是多么容易,以及它为应用程序(例如透明度和应用程序动画)支持什么。<ref>https://www.itprotoday.com/windows-78/live-pdc-2003-day-1-monday</ref>即使在 Longhorn Omega-13 时期,Microsoft 也继续发布 WinFX 的 CTP,包括在 2004 年 11 月,尽管这些 CTP 是为 Windows XP Server 2003 准备的,因为 Microsoft 宣布 WinFX 将出现在 XP/2003 中。


Later, in PDC 2005, Microsoft announced 2 new tools to be used for developing Avalon apps:
后来,在 PDC 2005 中,Microsoft 宣布了 2 个用于开发 Avalon 应用程序的新工具:


* '''Sparkle:''' Later known as Microsoft Blend/Microsoft Expression Blend
* '''Sparkle:'''后来称为 Microsoft Blend/Microsoft Expression Blend
* '''Cider:''' A tool to design WPF and Silverlight apps, later merged with Visual Studio.<ref>https://www.codemag.com/Article/050153/Beyond-the-Mists-of-Avalon</ref>
* '''Cider:'''用于设计 WPF Silverlight 应用程序的工具,后来与 Visual Studio 合并。<ref>https://www.codemag.com/Article/050153/Beyond-the-Mists-of-Avalon</ref>


December 2005 saw the release of WinFX Extensions for Visual Studio 2005 (Community Technology Preview) and WPF reached RTM on 21 November 2006 as part of .NET Framework 3.0.<ref>https://en.wikipedia.org/wiki/Windows_Presentation_Foundation</ref> On the other hand, Sparkle was later renamed to Microsoft Expression Blend on December 2006.<ref>https://en.wikipedia.org/wiki/Microsoft_Blend</ref> On January 2007, the first CTP of Expression Blend was released. Finally, the RTM of Expression Blend arrived on 30 April 2007.
2005 年 12 月,Visual Studio 2005 的 WinFX 扩展((Community Technology Preview,社区技术预览版)和 WPF 作为 .NET Framework 3.0 的一部分于 2006 年 11 月 21 日达到 RTM。<ref>https://en.wikipedia.org/wiki/Windows_Presentation_Foundation</ref>另一方面,Sparkle 后来在 2006 年 12 月更名为 Microsoft Expression Blend。<ref>https://en.wikipedia.org/wiki/Microsoft_Blend</ref>2007 年 1 月,Expression Blend 的第一个 CTP 发布。最后,Expression Blend RTM 于 2007 年 4 月 30 日发布。


Microsoft announced Windows Presentation Foundation would be open-source and will be released under the MIT license at the Microsoft Connect 2018 keynote. This also enabled WPF to use the open-source .NET Core framework.
Microsoft 宣布 Windows Presentation Foundation 将是开源的,并在 Microsoft Connect 2018 主题演讲中根据 MIT 许可证发布。这也使 WPF 能够使用开源 .NET Core 框架。


== 引用资料 ==
== 引用资料 ==

导航菜单