WPF is a .NET Core UI framework for building Windows desktop applications.
Перейти к файлу
dotnet-maestro[bot] aa5bbeaf69
Update dependencies from https://github.com/dotnet/arcade build 20190730.3 (#1487)
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19380.3
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19380.3
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19380.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19380.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19380.3
2019-07-31 12:54:08 +00:00
.github Update contributing guide file (#43) 2018-12-04 00:07:39 -08:00
Documentation Convert C# Reference Assembly Generation to Use GenAPI (#1057) 2019-06-24 13:29:56 -07:00
eng Update dependencies from https://github.com/dotnet/arcade build 20190730.3 (#1487) 2019-07-31 12:54:08 +00:00
packaging Add control library templates (#1005) 2019-07-22 20:50:17 +00:00
src Linker hints for C++/CLI dependencies (#1387) 2019-07-26 00:23:16 +00:00
.editorconfig Add extension assemblies to WPF solution (#795) 2019-05-30 13:15:31 -07:00
.gitignore Inject Module Constructor into PCore (#741) 2019-05-29 12:07:56 -07:00
CODE_OF_CONDUCT.md first commit 2018-11-07 09:36:15 -08:00
Directory.Build.props Add WindowsBase, PresentationCore, PresentationFramework (+more) sources (#720) 2019-05-22 14:08:14 -07:00
Directory.Build.targets Onboarding new build infrastructure (#473) 2019-03-28 12:06:32 -07:00
LICENSE.TXT first commit 2018-11-07 09:36:15 -08:00
Microsoft.Dotnet.Wpf.sln Convert C# Reference Assembly Generation to Use GenAPI (#1057) 2019-06-24 13:29:56 -07:00
NuGet.config Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-wpf-int build 20190626.19 (#1105) 2019-06-27 01:03:22 +00:00
README.md Update VS2019 Preview link in README.md 2019-03-10 00:02:15 +08:00
Restore.cmd Onboarding new build infrastructure (#473) 2019-03-28 12:06:32 -07:00
THIRD-PARTY-NOTICES.TXT Update THIRD-PARTY-NOTICES.TXT 2019-06-05 15:00:34 -07:00
azure-pipelines.yml Offload Helix onto a separate pipeline 2019-06-28 14:01:34 -07:00
build.cmd Cleanup docs and scripts from Arcade (#31) 2018-12-03 11:46:43 -08:00
build.sh Make build.sh executable (#519) 2019-04-09 13:38:51 -07:00
global.json Update dependencies from https://github.com/dotnet/arcade build 20190730.3 (#1487) 2019-07-31 12:54:08 +00:00
roadmap.md Update roadmap.md 2019-05-22 18:38:35 -07:00
test.cmd Cleanup docs and scripts from Arcade (#31) 2018-12-03 11:46:43 -08:00

README.md

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.

Note: The WPF visual designer is not yet available and will be part of a Visual Studio 2019 update.

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 Preview to use WPF and WinForms with .NET Core.

Getting started

Status

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 are part-away through porting WPF to .NET Core, and will complete that for .NET Core 3.0. We intend to bring the codebase up to functionality and performance parity with .NET Framework.

We have published only a small part of the WPF source. We will continue to publish WPF components as part of the .NET Core 3 project. We will publish source and tests at the same time for each component.

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

We have published very few tests and have very limited coverage for PRs at this time as a result. We will add more tests in 2019, however, it will be a progressive process. We welcome test contributions to increase coverage and help us validate PRs more easily.

The Visual Studio WPF designer is not yet available. In short, we need to move to an out-of-proc model (relative to Visual Studio) with the designer. This work will be 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. We intend to release .NET Core 3.0 with 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.

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.