2018 年 2 月 Windows 开发人员文档中的新增功能What's New in the Windows Developer Docs in February 2018

Windows 开发人员文档持续更新对整个 Windows 平台的开发人员提供的新功能的信息。The Windows Developer Documentation is constantly being updated with information on new features available to developers across the Windows platform. 一月当月提供了以下功能概述、开发人员指南和视频,包含面向 Windows 开发人员的新的和更新的信息。The following feature overviews, developer guidance, and videos have been made available in the month of January, containing new and updated information for Windows developers.

只需在 Windows 10 上安装工具和 SDK,你便可以随时创建新的通用 Windows 应用,或了解如何使用 Windows 上的现有应用代码Install the tools and SDK on Windows 10 and you’re ready to either create a new Universal Windows app or explore how you can use your existing app code on Windows.

功能Features

自适应和交互式 Toast 通知Adaptive and interactive toast notifications

使用自适应和交互式通知增强你的应用。Enhance your app with adaptive and interactive notifications. 使用我们的更新的 Toast 通知指南开始,并了解有关图像大小限制、进度栏和添加输入选项的新信息。Get started with our updated guidance on toast notifications, and explore the new information on image size restrictions, progress bars, and adding input options.

使用自定义时间戳自定义音频进度栏进一步自定义 Toast 通知Customize your toast notifications further with Custom timestamps, Custom audio, or Progress bars

使用通知镜像通用消除在各用户设备间扩展通知。Extend notifications across your user's devices with Notification mirroring and Universal dismiss.

使用 Toast 标头挂起的更新激活分组和管理通知。Group and organize your notifications with Toast headers and Pending update activation.

操作中的挂起更新激活

使用 XAML 的页面布局Page layouts with XAML

我们更新了 XAML 页面布局文档,增加了新的动态布局和视觉状态信息。We've updated our XAML page layout docs with new information on fluid layouts and visual states. 借助这些新功能,可以更好地控制应用中元素的位置如何响应和适应可用视觉空间。These new features allow for greater control over how the position of elements in your app respond and adapt to the available visual space.

XAML 页面布局的边距和填充

订阅加载项现在可供所有开发人员使用Subscription add-ons are now available to all developers

按照自动定期帐单期间创建和发布订阅加载项以在你的应用和游戏中销售数字产品(如应用功能或数字内容)。Create and publish subscription add-ons to sell digital products in your apps and games (such as app features or digital content) with automated recurring billing periods. 有关详细信息,请参阅启用应用加载项订阅For more details, see Enable subscription add-ons for your app.

开发人员指南Developer Guidance

设计基础知识Design basics

我们的 UWP 应用设计简介已经改进,提供了大量新的可视化示例。Our introduction to UWP app design has been enhanced with a slew of new visual examples. 每个 UWP 中的通用设计功能概述现在重点介绍了如何将 Fluent Design System 的功能投入使用。The overview of the universal design features in every UWP now highlights how you can put the capabilities of the Fluent Design System into action.

我们在内容设计基础知识中增加了常见页面模式的展示,提供了应用如何显示不同内容类型的示例库。We've added a showcase of common page patterns to our Content design basics, providing a gallery of examples of how your app can display diferent types of content.

中心页面模式图示

写入样式Writing style

我们已升级并扩充了有关语音和声调的文章内容,现在变为编写样式指南We've upgraded and expanded our article on voice and tone, transforming it into Writing style guidance. 这些新信息提供在应用中创建有效文本的准则,并为控件编写(如错误消息或对话)推荐最佳做法。This new information provides principles for creating effective text in your app, and recommends best practices for writing for controls such as error messages or dialogs.

游戏开发入门Getting started for game development

对开发适用于 Windows 10 的游戏感兴趣?Interested in developing games for Windows 10? 新的游戏开发入门页面为你提供了自行完成设置、注册并准备好提交应用和游戏所需完成事项的完整概述。The new Getting started for game development page gives you a full overview of what you need to do to get yourself set up, registered, and ready to submit your apps and games.

视频Videos

Xbox Live 创意者计划Xbox Live Creators Program

Xbox Live 创意者计划支持开发人员快速将 UWP 游戏发布到 Xbox One 和 Windows 10。观看视频了解此计划,然后查看此页面开始使用。The Xbox Live Creators Program allows developers to quickly publish their UWP games to Xbox One and Windows 10.Watch the video to learn about the program, then check out this page to get started.

创建适用于 Windows Mixed Reality 的 3D 应用启动器Creating 3D app launchers for Windows Mixed Reality

3D 启动器为用户提供在其混合现实家庭环境中放置应用的真正立体表示形式的独特途径。3D launchers provide a unique way for users to place a truly volumetric representation of your app in their Mixed Reality home environment. 观看视频了解如何准备 3D 模型并将其指定为应用的启动器,然后阅读开发人员文档查看我们的设计指南了解详细信息。Watch the video to learn how to prepare your 3D model and assign it as the launcher for your app, then read the developer docs and check out our design guidance for more information.

运动控制器跟踪Motion controller tracking

运动控制器在 Windows Mixed Reality 中代表用户的手。Motion controllers represent a user's hands in Windows Mixed Reality. 观看视频了解运动控制器在混合现实头戴显示设备的视野内外如何工作,并在此处阅读有关控制器跟踪的详细信息。Watch the video to learn how the motion controllers work when they are both in and out of the field of view of the Mixed Reality headset, and read more about controller tracking here.