Windows UI 程式庫 2.x 版本資訊Windows UI Library 2.x Release Notes
Windows UI 程式庫 (WinUI) 是裝載於 GitHub 上的開放原始碼專案。The Windows UI Library (WinUI) is an open source project hosted on GitHub. 所有新版本都會以 Windows UI 程式庫 GitHub 存放庫為基礎。All new releases are built from the Windows UI Library GitHub repo.
我們也歡迎您在 Windows UI 程式庫存放庫中提出錯誤回報、功能要求和社群程式碼。We also welcome bug reports, feature requests and community code contributions in the Windows UI Library repo.
WinUI 包含兩個 NuGet 套件:WinUI includes two NuGet packages:
Microsoft.UI.Xaml:適用於 UWP 應用程式的控制項和 Fluent Design。Microsoft.UI.Xaml: Controls and Fluent Design for UWP apps. 這是主要的 WinUI 套件。This is the main WinUI package.
Microsoft.UI.Xaml.Core.Direct:用於中介軟體元件的低層級 API。Microsoft.UI.Xaml.Core.Direct: Low-level APIs for use in middleware components.
您可以使用 NuGet 套件管理員,在您的應用程式中下載及使用 WinUI 套件:如需詳細資訊,請參閱開始使用 Windows UI 程式庫。You can download and use WinUI packages in your app using the NuGet package manager: see Getting Started with the Windows UI Library for more information.
範例Examples
Xaml 控制項庫範例應用程式包含 WinUI 控制項用法的互動式示範和範例程式碼。The Xaml Controls Gallery sample app includes interactive demos and sample code for using WinUI controls.
從 Microsoft Store 安裝 XAML 控制項庫應用程式Install the XAML Controls Gallery app from the Microsoft Store
Xaml 控制項庫也是 GitHub 上的開放原始碼項目The Xaml Controls Gallery is also open source on GitHub
文件Documentation
Windows UI 程式庫控制項的操作說明文章隨附於通用 Windows 平台控制項文件。How-to articles for Windows UI Library controls are included with the Universal Windows Platform controls documentation.
API 參照文件位於此處:Windows UI 程式庫 API。API reference docs are located here: Windows UI Library APIs.
版本歷程記錄Version History
主要 Microsoft.UI.Xaml NuGet 套件的版本歷程記錄:Version history for the main Microsoft.UI.Xaml NuGet package:
Windows UI 程式庫 3 預覽版 3 (2020 年 11 月)Windows UI Library 3 Preview 3 (November 2020)
如需試用 WinUI 3 早期預覽版的資訊,請參閱 Windows UI 程式庫 3 預覽版 3 (2020 年 11 月)。For information on trying out early previews of WinUI 3 see Windows UI Library 3 Preview 3 (November 2020).