Skip to content
WPF is a .NET Core UI framework for building Windows desktop applications.
C# C++ C Smalltalk PowerShell Roff Other
Branch: master
Clone or download
dotnet-maestro Update dependencies from…
…otnet-wpf-int build 20191110.4 (#2180)

- Microsoft.DotNet.Wpf.DncEng - 5.0.0-alpha.1.19560.4
Latest commit cfb15d0 Nov 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates to cover how to report security issues Oct 4, 2019
Documentation Snap master -> release/3.0 for end of Preview 7 (#1099) Jun 26, 2019
eng Update dependencies from… Nov 11, 2019
packaging Merge pull request #2005 from wpfcontrib/fixup-app-template Oct 21, 2019
src Merge pull request #2100 from wpfcontrib/systemresources-hwnd-fixup Oct 25, 2019
.editorconfig release/3.0 <- master integration for Preview 6 (#817) Jun 3, 2019
.gitignore release/3.0 <- master integration for Preview 6 (#817) Jun 3, 2019
Directory.Build.props release/3.0 <- master integration for Preview 6 (#817) Jun 3, 2019
Directory.Build.targets Preview 4 branch snap into release/3.0 (#531) Apr 8, 2019
LICENSE.TXT first commit Nov 7, 2018
Microsoft.Dotnet.Wpf.sln Open Sourcing more WPF assemblies (#1576) Aug 9, 2019
NuGet.config Update dependencies from build 20190… Jun 27, 2019 Update Sep 25, 2019
Restore.cmd Preview 4 branch snap into release/3.0 (#531) Apr 8, 2019
THIRD-PARTY-NOTICES.TXT Snap master -> release/3.0 for end of Preview 7 (#1099) Jun 26, 2019
azure-pipelines.yml Update Versions.props for release/3.1 (#1750) Aug 29, 2019
build.cmd Cleanup docs and scripts from Arcade (#31) Dec 3, 2018 Make executable (#519) Apr 9, 2019
global.json Update dependencies from build 20191… Nov 8, 2019 Update Aug 13, 2019
test.cmd Cleanup docs and scripts from Arcade (#31) Dec 3, 2018

Windows Presentation Foundation (WPF)

Build Status MIT License

Windows Presentation Foundation (WPF) is a UI framework for building Windows desktop applications. WPF supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding and documents. WPF uses the Extensible Application Markup Language (XAML) to provide a declarative model for application programming.

WPF applications are based on a vector graphics architecture. This enables applications to look great on high DPI monitors, as they can be infinitely scaled. WPF also includes a flexible hosting model, which makes it straightforward to host a video in a button, for example. The visual designer provided in Visual Studio makes it easy to build WPF application, with drag-in-drop and/or direct editing of XAML markup.

See the WPF Roadmap to learn about project priorities, status and ship dates.

WinForms is another UI framework for building Windows desktop applications that is supported on .NET Core. WPF and WinForms applications only run on Windows. They are part of the Microsoft.NET.Sdk.WindowsDesktop SDK. You are recommended to use Visual Studio 2019 to use WPF and WinForms with .NET Core.

Getting started


We are in the process of doing four projects with WPF:

  • Port WPF to .NET Core.
  • Publish source to GitHub.
  • Publish (and in some cases write) tests to GitHub and enable automated testing infrastructure.
  • Enable the Visual Studio WPF designer to work with WPF running on .NET Core.

We have completed porting WPF to .NET Core as part of .NET Core 3.0, you can learn more about what was done here.

We have published the vast majority of the WPF source. We will continue to publish WPF components through the rest of 2019.

See the WPF roadmap to learn about the schedule for specific WPF components.

We have published few tests and have limited coverage for PRs at this time as a result. We will add more tests in 2019 and 2020, however, it will be a progressive process.

The Visual Studio WPF designer is now available as part of Visual Studio 2019.

How to Engage, Contribute and Provide Feedback

Some of the best ways to contribute are to try things out, file bugs, join in design conversations, and fix issues.

.NET Framework issues

Issues with .NET Framework, including WPF, should be filed on VS developer community, or Product Support. They should not be filed on this repo.

Relationship to .NET Framework

This code base is a fork of the WPF code in the .NET Framework. .NET Core 3.0 was released with a goal of WPF having parity with the .NET Framework version. Over time, the two implementations may diverge.

The Update on .NET Core 3.0 and .NET Framework 4.8 provides a good description of the forward-looking differences between .NET Core and .NET Framework.

This update states how going forward .NET Core is the future of .NET. and .NET Framework 4.8 will be the last major version of .NET Framework.

Code of Conduct

This project uses the .NET Foundation Code of Conduct to define expected conduct in our community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer at

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Also see info about related Microsoft .NET Core and ASP.NET Core Bug Bounty Program.


.NET Core (including the WPF repo) is licensed under the MIT license.

.NET Foundation

.NET Core WPF is a .NET Foundation project.

See the .NET home repo to find other .NET-related projects.

You can’t perform that action at this time.