On this page
Overview
Windows Presentation Foundation (WPF) is a .NET UI framework for Windows desktop applications. It combines declarative XAML, data binding, resources, controls, layout, documents, and vector-based rendering to build rich interfaces including high-DPI scenarios.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Declare interface structure and resources with XAML
WPF uses XAML as a declarative application-programming model for controls, layout, resources, and related UI structure.
Sources: [1]
Connect application state to the view through data binding
Data binding is integrated into the framework so UI elements and application data can be connected through binding expressions.
Sources: [1]
Use vector-based rendering for high-DPI interfaces
WPF uses vector-based rendering, allowing interfaces and graphics to scale effectively on high-resolution monitors.
Sources: [1]
Best fit
Fits rich Windows desktop applications designed around XAML
It is suited to data-heavy business interfaces, custom controls, templating and styling, and applications that need richer graphics or layout than simpler desktop UI models.
Sources: [1]
Before adoption
WPF is Windows-only and part of the WindowsDesktop SDK
The README states that WPF and WinForms run only on Windows and are part of Microsoft.NET.Sdk.WindowsDesktop, so WPF should not be treated as a cross-platform desktop UI framework.
Sources: [1]
Check API gaps when migrating from .NET Framework
WPF for modern .NET derives from the .NET Framework implementation, but not every .NET Framework feature is supported identically. Migration should review unsupported features and behavioral differences.
Treat 10.0.12 as a stable .NET 10 patch baseline
Version 10.0.12, published September 8, 2026, is a stable .NET 10 patch. Validate WPF updates together with the .NET SDK and WindowsDesktop runtime used by the application.
Sources: [3]
Official sources
- [1]WPF 10.0.12 README(2026-10-04)
- [2]WPF getting started(2026-10-04)
- [3]WPF 10.0.12 release(2026-10-04)
- [4]WPF MIT license(2026-10-04)
Supplemental curator note
WPF is Windows-only and ships through Microsoft.NET.Sdk.WindowsDesktop. When migrating from .NET Framework, validate unsupported APIs and behavioral differences and run regression tests on real screens, especially for high-DPI rendering, data binding, and custom controls.
Try it in 3 steps
- 1
Check the .NET SDK on Windows
WPF is Windows-only. Verify a Windows environment with the intended .NET 10 SDK and WindowsDesktop tooling.
dotnet --info - 2
Create a minimal WPF application
Generate a desktop project with XAML and code-behind from the official WPF template.
dotnet new wpf -o WpfDemo - 3
Validate the XAML project with a Release build
Compile the WindowsDesktop project, including XAML processing, without launching the application.
dotnet build WpfDemo/WpfDemo.csproj -c Release
Growth
Growth trends · Last 30 days
7,737 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 27
- Open PRs
- 232
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- dotnet
- help-wanted
- wpf
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- GSAP28,779 Stars
1 shared tag(s) · 1 shared category(s)
control advanced web animation with tweens, timelines, scroll triggers, and plugins
JavaScript - React Select28,027 Stars
1 shared tag(s) · 1 shared category(s)
build searchable and multi-select React interfaces with controlled state and deep component customization
TypeScript - React Spectrum15,911 Stars
1 shared tag(s) · 1 shared category(s)
build accessible React interfaces with styled Spectrum components or unstyled React Aria primitives
TypeScript - Carbon Design System9,517 Stars
1 shared tag(s) · 1 shared category(s)
share React components, Sass styles, design tokens, and icons to build product interfaces aligned with IBM Design Language
JavaScript - Windows Forms4,861 Stars
3 shared tag(s) · 1 shared category(s) · Same language
build Windows desktop applications on .NET with controls, a visual designer, and wrappers over Windows UI APIs such as User32 and GDI+
C# - Avalonia31,619 Stars
2 shared tag(s) · 1 shared category(s) · Same language
build cross-platform C# and XAML interfaces for desktop, mobile, and WebAssembly from one .NET UI framework
C#
Report incorrect information
Tell us if any listing information is incorrect or outdated.