You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Add DeviceFamilyStateTrigger and OrientationStateTrigger and issue 7.0.1 version of WCT with them
Describe the problem this feature would solve
If you have a look at my samples https://github.com/xperiandri/Elmish.Uno/blob/uno/src/Samples/Samples.Shared/Components/Counter.xaml you will see the scenario of OrientationStateTrigger
Also DeviceFamilyStateTrigger would be useful in Uno development.
In order to be usable in Uno version of WCT these triggers must exist in the original WCT.
Describe the solution
Add
https://github.com/dotMorten/WindowsStateTriggers/blob/main/src/WindowsStateTriggers/OrientationStateTrigger.cs
and
https://github.com/dotMorten/WindowsStateTriggers/blob/main/src/WindowsStateTriggers/DeviceFamilyStateTrigger.cs
@michael-hawker