CommunityToolkit.WinUI.Triggers
                              
                            
                                8.2.250402
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    dotnet add package CommunityToolkit.WinUI.Triggers --version 8.2.250402
NuGet\Install-Package CommunityToolkit.WinUI.Triggers -Version 8.2.250402
<PackageReference Include="CommunityToolkit.WinUI.Triggers" Version="8.2.250402" />
<PackageVersion Include="CommunityToolkit.WinUI.Triggers" Version="8.2.250402" />
<PackageReference Include="CommunityToolkit.WinUI.Triggers" />
paket add CommunityToolkit.WinUI.Triggers --version 8.2.250402
#r "nuget: CommunityToolkit.WinUI.Triggers, 8.2.250402"
#:package CommunityToolkit.WinUI.Triggers@8.2.250402
#addin nuget:?package=CommunityToolkit.WinUI.Triggers&version=8.2.250402
#tool nuget:?package=CommunityToolkit.WinUI.Triggers&version=8.2.250402
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 | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net7.0-windows10.0.18362 is compatible. net8.0-windows was computed. net8.0-windows10.0.18362 is compatible. net8.0-windows10.0.19041 is compatible. net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows10.0.18362 is compatible. net9.0-windows10.0.19041 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
- 
                                                    
net8.0-windows10.0.19041
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Microsoft.WindowsAppSDK (>= 1.6.250108002)
 
 - 
                                                    
net9.0
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Uno.Fonts.Fluent (>= 2.4.5)
 - Uno.WinUI (>= 5.5.87)
 
 - 
                                                    
net9.0-android35.0
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Uno.Fonts.Fluent (>= 2.4.5)
 - Uno.WinUI (>= 5.5.87)
 
 - 
                                                    
net9.0-ios18.0
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Uno.Fonts.Fluent (>= 2.4.5)
 - Uno.WinUI (>= 5.5.87)
 
 - 
                                                    
net9.0-maccatalyst18.0
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Uno.Fonts.Fluent (>= 2.4.5)
 - Uno.WinUI (>= 5.5.87)
 
 - 
                                                    
net9.0-windows10.0.19041
- CommunityToolkit.WinUI.Helpers (>= 8.2.250402)
 - Microsoft.WindowsAppSDK (>= 1.6.250108002)
 
 
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CommunityToolkit.WinUI.Triggers:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            CommunityToolkit.WinUI.Controls.SettingsControls
                                                        
                                                            
                                                         Create a Windows 11 style settings experiences with these controls.  | 
                                                    |
| 
                                                        
                                                            Richasy.WinUIKernel.Share
                                                        
                                                         多项目共享的基础 WinUI 实现  | 
                                                    |
| 
                                                        
                                                            WindowSill.API
                                                        
                                                         SDK for developing extensions for WindowSill  | 
                                                    
GitHub repositories (9)
Showing the top 9 popular GitHub repositories that depend on CommunityToolkit.WinUI.Triggers:
| Repository | Stars | 
|---|---|
| 
                                                        
                                                            files-community/Files
                                                        
                                                         
                                                            A modern file manager that helps users organize their files and folders.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            HotCakeX/Harden-Windows-Security
                                                        
                                                         
                                                            Harden Windows Safely, Securely using Official Supported Microsoft methods and proper explanation | Always up-to-date and works with the latest build of Windows | Provides tools and Guides for Personal, Enterprise, Government and Military security levels | SLSA Level 3 Compliant for Secure Development and Build Process | Apps Available on MS Store✨
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Pixeval/Pixeval
                                                        
                                                         
                                                            Wow. Yet another Pixiv client!
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            ProtonVPN/win-app
                                                        
                                                         
                                                            Official ProtonVPN Windows app
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            CollapseLauncher/Collapse
                                                        
                                                         
                                                            An Advanced Launcher for miHoYo/HoYoverse Games
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            IviriusCommunity/Rebound
                                                        
                                                         
                                                            WinUI rewrite project of Windows 11 system apps.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            2fast-team/2fast
                                                        
                                                         
                                                            Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            hpavlo/Rememory
                                                        
                                                         
                                                            Rememory | Clipboard Manager
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            0x5bfa/RegistryEditor
                                                        
                                                         
                                                            A refreshed Regedit.exe with WinUI for Windows.
                                                         
                                                     | 
                                                    
| Version | Downloads | Last Updated | 
|---|---|---|
| 8.2.250402 | 46,395 | 4/2/2025 | 
| 8.2.250129-preview2 | 6,772 | 1/28/2025 | 
| 8.2.241112-preview1 | 4,364 | 11/14/2024 | 
| 8.1.240916 | 35,493 | 9/16/2024 | 
| 8.1.240821 | 3,957 | 8/22/2024 | 
| 8.1.240606-rc | 2,459 | 6/6/2024 | 
| 8.1.240328-rc | 992 | 3/28/2024 | 
| 8.0.240109 | 39,826 | 1/9/2024 | 
| 8.0.230907 | 43,876 | 9/7/2023 | 
| 8.0.230828-rc | 931 | 8/29/2023 | 
| 8.0.230823-rc | 1,034 | 8/23/2023 |