WinUI
Product
WinUIは、Windowsデスクトップアプリ向けのMicrosoftのネイティブXAMLベースUIフレームワークで、Windows App SDKの一部です。
Description
WinUI is Microsoft's native user interface framework for building Windows desktop applications. It uses a XAML-based programming model, supports C# and C++, and is part of the Windows App SDK. In Microsoft's documentation, WinUI 3 is described as the recommended native UI framework for new Windows desktop applications.
The framework is intended for modern, responsive desktop apps that follow the Fluent Design System. According to the documentation, it provides a broad set of modern controls and styles, high-performance rendering, advanced pixel processing, high-DPI rendering and smooth animations. Apps can accept input from touch, pen, keyboard and mouse, and they can run on x86, x64 and ARM devices. Through the Windows App SDK, WinUI apps also reach modern Windows APIs, and the SDK supplies tooling for development and deployment. WinUI runs on Windows 10 version 1809 and later, including Windows 11.
WinUI is used inside Microsoft as well. The documentation notes that parts of the Windows shell and several built-in apps are built with WinUI, and it cites PowerToys as an open-source example of an application using the framework. The project itself is developed in public on GitHub in the microsoft-ui-xaml repository, where contributions are accepted.
For developers who want to get started, the Microsoft Learn material includes a project walkthrough, tools and samples, and the WinUI 3 Gallery, an app with interactive samples of the available controls. The documentation page targets Windows desktop apps and does not state licensing terms or explicit technical limitations, so decisions that depend on those points need to be checked against further sources.
Typical decisions around WinUI concern which UI framework fits a given project. The M365.FM episode "Modern .NET: WPF, ASP.NET Core, and gRPC with Gábor Ruzsinszki [MVP]" touches on this question from the perspective of existing enterprise software. In that conversation, Gábor Ruzsinszki discusses why many enterprise companies still rely on WPF today and explains its strengths and its XAML-based architecture. The episode says that this XAML heritage influenced newer technologies such as .NET MAUI and WinUI, which places WinUI in a line of XAML-based UI technologies on the Microsoft platform.
The same episode compares alternatives such as Avalonia and Uno Platform and discusses the migration challenges that large legacy systems face. This is relevant context for WinUI, because teams with long-lived WPF applications have to weigh the effort of moving to a newer framework against the benefits described in the documentation, such as modern controls, Fluent Design and access to current Windows APIs.
In summary, WinUI is the XAML-based, native option within the Windows App SDK for new Windows desktop apps. It connects to the broader XAML family of WPF, .NET MAUI and related frameworks, and the available material points to Microsoft Learn for technical details and to the "Modern .NET" episode for a practitioner's view on how it relates to WPF and other alternatives.
Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.
| Type | Product |
|---|---|
| Documentation | WinUI – Microsoft Learn learn.microsoft.com |
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Sources
- WinUI – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: