照片编辑器 C++/WinRT 示例应用程序Photo Editor C++/WinRT sample application

备注

该示例面向 Windows 10 版本 1903(10.0 内部版本 18362)和 Visual Studio 2019,且已经过测试。The sample is targeted and tested for Windows 10, version 1903 (10.0; Build 18362), and Visual Studio 2019. 如果愿意,可以使用项目属性使项目重新面向 Windows 10 版本 1809(10.0 内部版本 17763),并/或使用 Visual Studio 2017 打开示例。If you prefer, you can use project properties to retarget the project(s) to Windows 10, version 1809 (10.0; Build 17763), and/or open the sample with Visual Studio 2017.

若要克隆或下载此示例应用程序,请参阅代码示例库中的照片编辑器 C++/WinRT 示例应用程序To clone or download the sample application, see Photo Editor C++/WinRT sample application on the code samples gallery.

照片编辑器应用程序是一个通用 Windows 平台 (UWP) 示例应用程序,它通过 C++/WinRT 语言投影展示开发。The Photo Editor application is a Universal Windows Platform (UWP) sample application that showcases development with the C++/WinRT language projection. 此示例应用程序允许你从图片库检索照片,然后使用分类的照片效果编辑选择的图像。The sample application allows you to retrieve photos from the Pictures library, and then edit the selected image with assorted photo effects. 在示例的源代码中,你将看到大量的常见做法 — 如数据绑定异步操作— 使用 C++/WinRT 投影执行。In the sample's source code, you'll see a number of common practices—such as data binding, and asynchronous actions and operations—performed using the C++/WinRT projection. 下面是示例演示的一些特定功能。Here are some of the specific features demonstrated by the sample.

另请参阅可在哪里找到 C++/WinRT 示例应用?Also see Where can I find C++/WinRT sample apps?.