The Windows Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.
Перейти к файлу
Jérôme Laban f3c82819d7
chore: Remove more netcoreapp3.1
2024-02-05 16:06:03 -05:00
.github merge from master 2021-11-03 14:50:35 -04:00
CommunityToolkit.Common Revert "chore: remove unused attributes" 2023-06-28 09:29:52 -04:00
CommunityToolkit.Diagnostics Migrate Uno fork to winui 2021-10-25 12:27:13 -04:00
CommunityToolkit.HighPerformance Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
CommunityToolkit.Mvvm Merge branch 'main' into winui 2021-10-12 11:23:09 -07:00
CommunityToolkit.Mvvm.SourceGenerators Fixed warnings. 2021-10-12 12:15:29 -07:00
CommunityToolkit.Win32 Merge branch 'main' into winui 2021-08-18 11:21:10 -07:00
CommunityToolkit.Win32.WpfCore.SampleApp Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
CommunityToolkit.WinUI chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.Connectivity chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.DeveloperTools chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.Input.GazeInteraction Merge branch 'main' into winui 2021-10-14 13:38:50 -07:00
CommunityToolkit.WinUI.Notifications chore: Remove more netcoreapp3.1 2024-02-05 16:06:03 -05:00
CommunityToolkit.WinUI.SampleApp ci: Ajust for unavailable FrameworkElementExtensions.Cursor 2023-06-11 22:47:48 -04:00
CommunityToolkit.WinUI.SampleApp.Package Migrate Uno fork to winui 2021-10-25 12:27:13 -04:00
CommunityToolkit.WinUI.SampleApp.Skia.Gtk chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.SampleApp.Wasm chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.SampleApp.iOS ci: Remove android and ios 2023-06-11 21:55:19 -04:00
CommunityToolkit.WinUI.Samples.BackgroundTasks Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
CommunityToolkit.WinUI.UI chore: Restore mouse attached properties 2023-11-20 12:11:00 -05:00
CommunityToolkit.WinUI.UI.Animations chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Behaviors chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls fix: Adjust package ids 2021-11-04 20:26:36 -04:00
CommunityToolkit.WinUI.UI.Controls.Core chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Core.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.DataGrid chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.DataGrid.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.Input chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Input.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.Layout chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Layout.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.Markdown chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Markdown.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.Media chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Media.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Controls.Primitives chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
CommunityToolkit.WinUI.UI.Controls.Primitives.Design Merge branch 'main' into winui 2021-10-14 13:05:32 -07:00
CommunityToolkit.WinUI.UI.Media chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
GazeInputTest Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
GazeInputTest (Package) Updated to WAS 1.0.0-preview2. 2021-10-14 10:47:24 -07:00
SmokeTests Merge branch 'main' into winui 2021-09-17 12:06:08 -07:00
UITests Merge branch 'main' into winui 2021-10-19 09:45:22 -07:00
UnitTests chore: Misc renames 2021-11-04 17:48:37 -04:00
build chore: Bump to later .NET to align with Uno 5.1 2024-02-05 08:58:23 -05:00
githubresources Clean-up trailing white-spaces 2021-05-17 12:43:06 -07:00
.editorconfig Format and Update EditorConfig 2021-07-20 21:45:07 +05:30
.gitattributes Format Build related files 2021-07-22 08:30:49 +05:30
.gitignore Pinning .net version 2021-04-22 09:51:29 -07:00
.runsettings Format Build related files 2021-07-22 08:30:49 +05:30
.vsts-ci.yml Revert "chore: remove unused attributes" 2023-06-28 09:29:52 -04:00
CODE_OF_CONDUCT.md Update Markdown files 2021-08-05 08:19:52 +05:30
Contributing.md Update Markdown files 2021-08-05 08:19:52 +05:30
Directory.Build.props Merge pull request #202 from Youssef1313/disable-fuzzy 2023-07-21 15:05:50 -04:00
Directory.Build.targets chore: Bump to uno 5.0.19 2023-10-31 14:50:20 -04:00
EmptyMsAppxPackage.Targets Updated to .Net Core 5. 2020-04-24 20:14:20 -07:00
License.md Update Markdown files 2021-08-05 08:19:52 +05:30
ReadMe.md chore: add reminder to add package versions 2023-12-01 17:05:36 +02:00
ThirdPartyNotices.txt Merge branch 'main' into winui 2021-07-29 13:26:23 -07:00
Windows Community Toolkit (NET).slnf Added .NET Standard 2.0 test project 2021-08-09 20:09:43 +02:00
Windows Community Toolkit (UNO).slnf ci: Remove android and ios 2023-06-11 21:55:19 -04:00
Windows Community Toolkit-gtk-only.slnf chore: Misc renames 2021-11-04 17:48:37 -04:00
Windows Community Toolkit.sln ci: Remove android and ios 2023-06-11 21:55:19 -04:00
azure-pipelines.yml Fixed pipeline 2021-10-14 13:46:00 -07:00
global.json ci: Adjust base .net version 2023-06-11 20:24:36 -04:00
nuget.config chore: Adjust dev feed 2023-10-31 15:01:53 -04:00
settings.xamlstyler Merge branch 'main' into fix_tcb_winui2.6 2021-07-30 13:48:12 -07:00
stylecop.json Format Build related files 2021-07-22 08:30:49 +05:30
toolkit.snk add strong naming 2018-06-04 17:40:30 -04:00
version.json chore: Update to latest uno5 dev 2023-06-27 15:31:34 -04:00

ReadMe.md

Uno Platform port of Windows Community Toolkit

This port allows for Uno Platform based apps to use Windows Community Toolkit for WinUI 3 on Windows, iOS, macOS, Android, WebAssembly and Linux.

See below on this page for information about UWP.

The following packages are available:

  • Uno.CommunityToolkit.Common NuGet
  • Uno.CommunityToolkit.WinUI NuGet
  • Uno.CommunityToolkit.WinUI.Connectivity NuGet
  • Uno.CommunityToolkit.WinUI.DeveloperTools NuGet
  • Uno.CommunityToolkit.WinUI.UI NuGet
  • Uno.CommunityToolkit.WinUI.UI.Animations NuGet
  • Uno.CommunityToolkit.WinUI.UI.Behaviors NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Core NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Input NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Layout NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Markdown NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Media NuGet
  • Uno.CommunityToolkit.WinUI.UI.Controls.Primitives NuGet
  • Uno.CommunityToolkit.WinUI.UI.Media NuGet

Using the Uno Platform Windows Community Toolkit packages

These packages are providing support for the Uno Platform supported targets (iOS, Android, macOS, WebAssembly and Skia GTK/WPF/Tizen).

On Windows projects (the WinUI 3 Desktop head), please install the official Windows Community Toolkit packages for WinUI 3.

If you are building a library, use the following to conditionally include the toolkit builds:

<ItemGroup Condition="$(TargetFramework.Contains('windows10'))">
	<PackageReference Include="CommunityToolkit.WinUI.Controls" Version="7.1.2" />
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.Contains('windows10'))">
	<PackageReference Include="Uno.CommunityToolkit.WinUI.Controls" Version="7.1.200" />
</ItemGroup>

For example, using the default Uno template, you only need to add the following lines (as needed) to the class library <AppName>.csproj. No changes are needed in each target separately (<AppName>.Wasm.csproj, <AppName>.Windows.csproj, etc.)

<ItemGroup Condition="$(TargetFramework.Contains('windows10'))">
  <PackageReference Include="CommunityToolkit.Common" />
  <PackageReference Include="CommunityToolkit.WinUI" />
  <PackageReference Include="CommunityToolkit.WinUI.Connectivity" />
  <PackageReference Include="CommunityToolkit.WinUI.DeveloperTools" />
  <PackageReference Include="CommunityToolkit.WinUI.UI" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Animations" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Behaviors" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Core" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Input" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Layout" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Markdown" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Media" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Primitives" />
  <PackageReference Include="CommunityToolkit.WinUI.UI.Media" />
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.Contains('windows10'))">
  <PackageReference Include="Uno.CommunityToolkit.Common" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.Connectivity" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.DeveloperTools" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Animations" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Behaviors" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Core" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Input" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Layout" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Markdown" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Media" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Primitives" />
  <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Media" />
</ItemGroup>

Also, don't forget to add the corresponding package versions in Directory.Packages.props:

<PackageVersion Include="Uno.CommunityToolkit.Common" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.Connectivity" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.DeveloperTools" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Animations" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Behaviors" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Core" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Input" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Layout" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Media" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Controls.Primitives" Version="7.1.200" />
<PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Media" Version="7.1.200" />

<PackageVersion Include="CommunityToolkit.Common" Version="8.2.2" />
<PackageVersion Include="CommunityToolkit.WinUI" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.Connectivity" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.DeveloperTools" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Animations" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Behaviors" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Core" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Input" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Layout" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Media" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Primitives" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Media" Version="7.1.2" />

Support for UWP

As the original Community Toolkit does, this fork also provides binaries for UWP, and the branch unorel/7.1 is used to provide this support.

The following packages are available from this branch:

  • Uno.Microsoft.Toolkit NuGet
  • Uno.Microsoft.Toolkit.Uwp NuGet
  • Uno.Microsoft.Toolkit.Uwp.Connectivity NuGet
  • Uno.Microsoft.Toolkit.Uwp.DeveloperTools NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Animations NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Behaviors NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Core NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.DataGrid NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Input NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Layout NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Markdown NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Media NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Controls.Primitives NuGet
  • Uno.Microsoft.Toolkit.Uwp.UI.Media NuGet

Using the Uno Platform Windows Community Toolkit packages for UWP

These packages are providing support for the Uno Platform supported targets (iOS, Android, macOS, WebAssembly and Skia GTK/WPF/Tizen).

On Windows projects (the UWP head), please install the official Windows Community Toolkit packages.

If you are building a library, use the following to conditionally include the toolkit builds:

<ItemGroup Condition="'$(TargetFramework)' == 'uap10.0.17763'">
	<PackageReference Include="Microsoft.Toolkit.Uwp.Controls" Version="7.1.10" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'uap10.0.17763'">
	<PackageReference Include="Uno.Microsoft.Toolkit.Uwp.Controls" Version="7.1.10" />
</ItemGroup>