Skip to content

[Feature] Add missing state triggers: DeviceFamilyStateTrigger, OrientationStateTrigger. Required for Uno and for tablets #3860

@xperiandri

Description

@xperiandri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request 📬A request for new changes to improve functionalityhelp wantedIssues identified as good community contribution opportunitiesopen discussion ☎️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions