CommunityToolkit / Windows

Collection of controls for WinUI 2, WinUI 3, and Uno Platform developers. Simplifies and demonstrates common developer tasks building experiences for Windows with .NET.
https://aka.ms/windowstoolkitdocs
Other
600 stars 74 forks source link

Port Triggers #4

Open niels9001 opened 1 year ago

niels9001 commented 1 year ago

TODO

### Base Porting Checklist
- [x] Update namespace (to `CommunityToolkit.WinUI.Triggers`)
- [x] Merge differences from UWP main to WinAppSDK / Uno forks
- [x] Import original doc or setup new doc
  - [ ] Needs a refresh/update, and probably split
- [x] Samples
- [ ] #111
  - [ ] All brought over tests pass for UWP/WinAppSDK
  - [ ] Add more tests for other converters not covered? (or at least well-used ones)
- [ ] https://github.com/CommunityToolkit/Windows/issues/110
### Triggers
- [x] CompareStateTrigger
- [x] ControlSizeTrigger
- [ ] FullscreenModeStateTrigger (missing APIs WASDK)
- [x] IsEqualStateTrigger
- [x] IsNotEqualStateTrigger
- [x] IsNullOrEmptyStateTrigger
- [x] NetworkConnectionStateTrigger
- [x] RegexStateTrigger
- [x] UserHandPreferenceStateTrigger
- [ ] UserInteractionModeStateTrigger (missing APIs WASDK)
## Notable Changes
## Future Improvements
## Dependencies
- [x] DispatcherQueueExtensions.cs
- [ ] #22
michael-hawker commented 1 year ago

Oops, we need to fix the version number for the Triggers:

https://github.com/CommunityToolkit/Windows/blob/9e4cebc916e615a7cf230806a065c5d53bae48d5/components/Triggers/src/CommunityToolkit.WinUI.Controls.Triggers.csproj#L5