CommunityToolkit.Uwp.Triggers 8.2.241112-preview1

Prefix Reserved
This is a prerelease version of CommunityToolkit.Uwp.Triggers.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Uwp.Triggers --version 8.2.241112-preview1
                    
NuGet\Install-Package CommunityToolkit.Uwp.Triggers -Version 8.2.241112-preview1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Uwp.Triggers" Version="8.2.241112-preview1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Uwp.Triggers" Version="8.2.241112-preview1" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Uwp.Triggers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Uwp.Triggers --version 8.2.241112-preview1
                    
#r "nuget: CommunityToolkit.Uwp.Triggers, 8.2.241112-preview1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=CommunityToolkit.Uwp.Triggers&version=8.2.241112-preview1&prerelease
                    
Install CommunityToolkit.Uwp.Triggers as a Cake Addin
#tool nuget:?package=CommunityToolkit.Uwp.Triggers&version=8.2.241112-preview1&prerelease
                    
Install CommunityToolkit.Uwp.Triggers as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst18.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Universal Windows Platform uap10.0.17763 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CommunityToolkit.Uwp.Triggers:

Package Downloads
CommunityToolkit.Uwp.Controls.SettingsControls

Create a Windows 11 style settings experiences with these controls.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.2.250402 222 4/2/2025
8.2.250129-preview2 209 1/28/2025
8.2.241112-preview1 348 11/14/2024
8.1.240916 3,452 9/16/2024
8.1.240821 573 8/22/2024
8.1.240606-rc 185 6/6/2024
8.1.240328-rc 181 3/28/2024
8.0.240109 3,136 1/9/2024
8.0.230907 4,291 9/7/2023
8.0.230828-rc 175 8/29/2023
8.0.230823-rc 19,444 8/23/2023