OSS Tanbou

Windows Presentation Foundation

build high-DPI Windows desktop interfaces on .NET with XAML, data binding, vector graphics, controls, resources, and flexible layout

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
7,737
Primary language
C#
License
MIT
Repository last updated
Oct 3, 2026
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.

Sources: [1][2]

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. [1]WPF 10.0.12 README(2026-10-04)
  2. [2]WPF getting started(2026-10-04)
  3. [3]WPF 10.0.12 release(2026-10-04)
  4. [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. 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. 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. 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
Check the official README

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
Stars
7,737
Forks
1,335
Watchers
283
Open issues
1,449
Contributors
170
Owner type
Organization
Primary language
C#
License
MIT
Repository last updated
Oct 3, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?