WPF is a .NET Core UI framework for building Windows desktop applications.
Перейти к файлу
Harshit d01dfc98e2
Merge pull request #9676 from h3xds1nz/mouseconverter-speedup
Optimize conversion of MouseAction enum from/to string, remove allocations
2024-10-01 17:14:27 +05:30
.github Interbranch workflow 2024-09-20 13:20:06 +05:30
Documentation
eng Merge pull request #9856 from dotnet/darc-main-ff10c57f-d468-4cf8-8679-49e48883e26f 2024-09-30 09:52:03 +05:30
packaging
src/Microsoft.DotNet.Wpf Merge pull request #9676 from h3xds1nz/mouseconverter-speedup 2024-10-01 17:14:27 +05:30
.editorconfig
.gitattributes
.gitignore
CODEOWNERS
CODE_OF_CONDUCT.md
Directory.Build.props
Directory.Build.targets
LICENSE.TXT
Microsoft.Dotnet.Wpf.sln
NuGet.config Enable NuGet Audit 2024-09-27 10:31:59 -07:00
README.md
Restore.cmd
SECURITY.md
THIRD-PARTY-NOTICES.TXT
azure-pipelines-pr.yml
azure-pipelines.yml
azure-pipelines1.yml
build.cmd
build.sh
dotnet-test-install.ps1
github-merge-flow.jsonc.txt address review comments on configurations 2024-09-23 09:22:20 +05:30
global.json Update dependencies from https://github.com/dotnet/arcade build 20240926.2 2024-09-27 12:17:28 +00:00
roadmap.md
test.cmd

README.md

Windows Presentation Foundation (WPF)

.NET Foundation 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's rendering is vector-based, which 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.

Visual Studio's designer, as well as Visual Studio Blend, make it easy to build WPF applications, with drag-and-drop and/or direct editing of XAML markup.

As of .NET 6.0, WPF supports ARM64.

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 (7.0.x/6.0.x). WPF and WinForms applications only run on Windows. They are part of the Microsoft.NET.Sdk.WindowsDesktop SDK. You are recommended to use the most recent version of Visual Studio to develop WPF and WinForms applications for .NET.

To build the WPF repo and contribute features and fixes for .NET 8.0, Visual Studio 2022 Preview is required.

Getting started

Status

  • We are currently developing WPF for .NET 8.

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

Test published at separate repo Tests and have limited coverage at this time. We will add more tests, 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 conduct@dotnetfoundation.org.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. 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.

License

.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.