wpf/README.md

79 строки
5.6 KiB
Markdown
Исходник Обычный вид История

2018-11-08 23:08:58 +03:00
# Windows Presentation Framework (WPF)
2018-11-06 18:29:34 +03:00
[![Build Status](https://dnceng.visualstudio.com/internal/_apis/build/status/dotnet.wpf)](https://dnceng.visualstudio.com/internal/_build/latest?definitionId=234)
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.
2018-12-04 11:12:19 +03:00
> Note: The WPF visual designer is not yet available and will be part of a Visual Studio 2019 update.
2018-12-04 11:12:19 +03:00
See the [WPF Roadmap](roadmap.md) to learn about project priorities, status and ship dates.
[WinForms](https://github.com/dotnet/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 1 to use WPF and WinForms with .NET Core.
## Getting started
* [.NET Core 3.0 SDK Preview 1](https://www.microsoft.com/net/download)
* [Getting started instructions](Documentation/getting-started.md)
2018-12-04 11:07:39 +03:00
* [Contributing guide](Documentation/contributing.md)
## 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.
2018-12-04 11:08:26 +03:00
See the [WPF roadmap](roadmap.md) to learn about the schedule for specific WPF components.
2018-11-09 02:22:04 +03:00
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 converage 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.
2018-12-04 11:07:39 +03:00
* This repo defines [contributing guidelines](Documentation/contributing.md) and also follows the more general[.NET Core contributing guide](https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/contributing.md).
* If you have a question or have found a bug, [file an issue](https://github.com/dotnet/wpf/issues/new).
* Use [daily builds](Documentation/getting-started.md#installation) if you want to contribute and stay up to date with the team.
### .NET Framework issues
Issues with WPF for .NET Framework should be filed via Feedback Hub on Windows 10 (Category: _Developer Platform_, sub-category _UI frameworks and controls_),
or [Product Support](https://support.microsoft.com/en-us/contactus?ws=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](https://blogs.msdn.microsoft.com/dotnet/2018/10/04/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](https://dotnetfoundation.org/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](https://www.microsoft.com/msrc/faqs-report-an-issue).
Also see info about related [Microsoft .NET Core and ASP.NET Core Bug Bounty Program](https://www.microsoft.com/msrc/bounty-dot-net-core).
## License
2018-12-04 11:08:26 +03:00
.NET Core (including the WPF repo) is licensed under the [MIT license](LICENSE.TXT).
## .NET Foundation
.NET Core WPF is a [.NET Foundation](https://www.dotnetfoundation.org/projects) project.
See the [.NET home repo](https://github.com/Microsoft/dotnet) to find other .NET-related projects.