This repository contains all controls for WPF and WinForms to simplify and demonstrate usage of UWP controls
Перейти к файлу
msftbot[bot] ce54259724
Add `.github/fabricbot.json`
2022-06-28 23:32:10 +00:00
.github Add `.github/fabricbot.json` 2022-06-28 23:32:10 +00:00
Microsoft.Toolkit.Forms.UI.Controls Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Forms.UI.Controls.WebView Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Forms.UI.XamlHost Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Sample.Forms.App Suppress warning on Obsolete 2020-06-05 00:51:59 -07:00
Microsoft.Toolkit.Sample.Forms.WebView Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Sample.UWP.App cleanup 2021-06-24 11:25:38 -07:00
Microsoft.Toolkit.Sample.Wpf.App cleanup 2021-06-23 14:52:35 -07:00
Microsoft.Toolkit.Sample.Wpf.WebView Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Win32.UI.Controls Apply PR feedback 2019-05-01 15:39:52 -07:00
Microsoft.Toolkit.Win32.UI.Tools Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Win32.UI.XamlApplication cleanup 2021-06-24 11:25:38 -07:00
Microsoft.Toolkit.Win32.UI.XamlApplication.Package Publish symbols to tools 2021-06-23 12:39:33 -07:00
Microsoft.Toolkit.Win32.UI.XamlHost Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Wpf.UI.Controls Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Wpf.UI.Controls.WebView Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Microsoft.Toolkit.Wpf.UI.XamlHost Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
Tests Remove support for .NET Framework 2021-05-28 10:25:02 -07:00
WebView.Shared Fall back to WebBrowser controls when running as admin 2020-03-28 14:46:35 +01:00
build Simplyfy restore 2021-06-04 12:10:28 -07:00
.gitattributes Normalized line endings. 2019-02-22 15:50:03 -08:00
.gitignore Pinning a few dependencies versions. 2019-10-17 13:55:58 -07:00
Directory.Build.props Fix build 2021-06-04 15:19:27 -07:00
Directory.Build.targets Updated a few prerelease dependencies. 2019-09-30 17:46:33 -07:00
Microsoft.Toolkit.Win32.sln Apply PR feedback 2019-08-06 15:01:38 -07:00
Microsoft.WinRT.Win32.targets Account for UWP packages that do not prepend AOT to its name 2020-08-10 17:42:50 -07:00
Toolkit.ruleset Merge branch 'master' into 6.0.0 2019-02-22 16:28:10 -08:00
azure-pipelines.yml cleanup 2021-06-23 14:52:35 -07:00
contributing.md Normalized line endings. 2019-02-22 15:50:03 -08:00
global.json Set correct runtime identifiers 2021-06-04 11:58:07 -07:00
license.md Normalized line endings. 2019-02-22 15:50:03 -08:00
readme.md Update readme.md 2021-03-10 19:51:46 -08:00
settings.xamlstyler Normalized line endings. 2019-02-22 15:50:03 -08:00
stylecop.json Normalized line endings. 2019-02-22 15:50:03 -08:00
toolkit.public.snk added readme, license, build script, etc 2018-11-13 11:11:28 -08:00
toolkit.snk added readme, license, build script, etc 2018-11-13 11:11:28 -08:00
version.json Updated version to 6.1.x 2020-04-20 17:19:40 -07:00

readme.md

topic languages products
sample
csharp
windows

Windows Community Toolkit - WPF and Windows Forms

This repository contains all controls for WPF and WinForms to simplify and demonstate usage of UWP controls.

For everything else in the Windows Community Toolkit (UWP controls, .NET Standard web services, helpers and more), start here

XAML Islands Notice

The set of WPF and WinForms controls found here are only designed to work with .NET Core 3.1, not .NET 5 and above. These controls are using the XAML Islands Windows 10 APIs included within the Windows 10 OS which won't be improved anymore.

WinUI 3's XAML Islands is the path forward to these .NET apps that want to use .NET 5 and WinUI. WinUI 3's XAML Islands are still in development, and we recommend reviewing the WinUI 3 roadmap to get the latest updates. This repository will be archived once WinUI 3's XAML Islands is released.

In the meantime, we suggest you investigate WinUI 3 Desktop as a solution to access Win32 APIs while using the latest native UX platform. See here for more details.

Build Status

Target Branch Status Recommended NuGet packages version
Pre-release beta testing master Build Status MyGet

Getting Started

Please read the getting Started with the Windows Community Toolkit page for more detailed information about using the toolkit.

Documentation

All documentation for the toolkit is hosted on Microsoft Docs. All API documentation can be found at the .NET API Browser.

Windows Community Toolkit Sample App

Want to see the toolkit in action before jumping into the code? Download and play with the Windows Community Toolkit Sample App from the Store.

Controls

Control Minimum supported OS Description
WindowsXamlHost Windows 10, version 1809 Adds built-in or custom UWP controls to the User Interface (UI) of WPF or Windows Forms desktop application.
WebView Windows 10, version 1803 Uses the Microsoft Edge rendering engine to show web content.
WebViewCompatible Windows 7 Provides a version of WebView that is compatible with more OS versions. This control uses the Microsoft Edge rendering engine to show web content on Windows 10 version 1803 and later, and the Internet Explorer rendering engine to show web content on earlier versions of Windows 10, Windows 8.x, and Windows 7.
InkCanvas
InkToolbar
Windows 10, version 1809 Provide a surface and related toolbars for Windows Ink-based user interaction in your Windows Forms or WPF desktop application.
MediaPlayerElement Windows 10, version 1809 Embeds a view that streams and renders media content such as video in your Windows Forms or WPF desktop application.
MapControls Windows 10, version 1809 Enables a symbolic or photorealistic map in your Windows Forms or WPF desktop application.

WebView Notice

New: Try out the pre-release preview of WebView2 for .NET here. 🎉🎉🎉

WebView2 will replace the WebView control in the toolkit, as laid out in the introduction to WebView2 here. This means that we've deprecated the WebView control within the Toolkit and are working with the Edge team to convey all the requirements from the open issues here.

Over the next few months, they'll be processing the open requests to ensure the scenarios folks are using WebView for will be supported with its replacement in the future. You can provide feedback directly to the Edge team here. Thank you for using WebView!

Feedback and Requests

Please use GitHub Issues for bug reports and feature requests. For feature requests, please also create an entry in our UserVoice. For general questions and support, please use Stack Overflow where questions should be tagged with the tag windows-community-toolkit.

Contributing

Do you want to contribute? Here are our contribution guidelines.

Principles

  • Principle #1: The toolkit will be kept simple.
  • Principle #2: As soon as a comparable feature is available in the Windows SDK for Windows 10, it will be marked as deprecated.
  • Principle #3: All features will be supported for two Windows SDK for Windows 10 release cycles or until another principle supersedes it.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Roadmap

Read what we plan for next iterations, and feel free to ask questions.

By adding this (NuGet repo | Gallery) to your NuGet sources in Visual Studio, you can also get pre-release packages of upcoming versions.

.NET Foundation

This project is supported by the .NET Foundation.