Skip to main content
net7.0net7.0-android33.0net7.0-ios16.1net7.0-maccatalyst16.1UAP10.0.17763

This package contains Triggers.

Published
Sep 7, 2023
3y ago
Total Downloads
83.3K
83,281

Install

dotnet add package CommunityToolkit.Uwp.Triggers --version 8.0.230907
ProductVersions
.NET
net7.0net7.0-android33.0net7.0-ios16.1net7.0-maccatalyst16.1
Universal Windows Platform
uap10.0.17763

README

Windows Community Toolkit - Triggers

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

Package Contents

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

  • CompareStateTrigger
  • ControlSizeTrigger
  • IsEqualStateTrigger
  • IsNotEqualStateTrigger
  • IsNullOrEmptyStateTrigger
  • NetworkConnectionStateTrigger
  • RegexStateTrigger
  • UserHandPreferenceStateTrigger

Which Package is for me?

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

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

WinUI Resources (UWP)

For UWP projects, the WinUI 2 reference requires you include the WinUI XAML Resources in your App.xaml file:

    <Application.Resources>
        <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
    </Application.Resources>

See Getting Started in WinUI 2 for more information.

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.0.230828-rcv8.0.230907
Removed Frameworks
net6.0-windows10.0.19041net7.0-windows10.0.19041
Removed Dependencies
CommunityToolkit.Uwp.Helpers(net6.0-windows10.0.19041)
Microsoft.Windows.SDK.BuildTools(net6.0-windows10.0.19041)
Microsoft.WindowsAppSDK(net6.0-windows10.0.19041)
CommunityToolkit.Uwp.Helpers(net7.0-windows10.0.19041)
Microsoft.Windows.SDK.BuildTools(net7.0-windows10.0.19041)
Microsoft.WindowsAppSDK(net7.0-windows10.0.19041)

Adoption Assessment

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

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

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