Skip to main content
net6.0-windows10.0.22621net7.0-windows10.0.22621net8.0net8.0-android34.0net8.0-ios17.2net8.0-maccatalyst17.2

A collection of useful triggers and actions to supplement Microsoft.Xaml.Behaviors.*.

Published
Jun 6, 2024
2y ago
Total Downloads
283.5K
283,518

Install

dotnet add package CommunityToolkit.WinUI.Behaviors --version 8.1.240606-rc
ProductVersions
.NET
net6.0-windows10.0.22621net7.0-windows10.0.22621net8.0net8.0-android34.0net8.0-ios17.2net8.0-maccatalyst17.2net8.0-windows10.0.22621

README

Windows Community Toolkit - Behaviors

This package is part of the Windows Community Toolkit from the .NET Foundation.

Package Contents

This package contains the following in the CommunityToolkit.WinUI.Behaviors namespace:

  • AnimationCompletedTriggerBehavior
  • AnimationStartedTriggerBehavior
  • AutoSelectBehavior
  • FadeHeaderBehavior
  • FocusBehavior
  • InvokeActionsActivity
  • KeyDownTriggerBehavior
  • NavigateToUriAction
  • QuickReturnHeaderBehavior
  • StartAnimationAction
  • StackedNotificationBehavior
  • StopAnimationAction
  • StickyHeaderBehavior
  • ViewportBehavior

Which Package is for me?

If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Behaviors package.

If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Behaviors package.

Documentation

Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs

License

MIT

See License.md in package for more details.

Changes from Previous Version

v8.1.240328-rcv8.1.240606-rc
Added Frameworks
net8.0net8.0-android34.0net8.0-ios17.2net8.0-maccatalyst17.2
Removed Frameworks
net7.0net7.0-android33.0net7.0-ios16.1net7.0-maccatalyst16.1

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 7 target frameworks; confirm the exact target used by your application.The published metadata declares 35 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.