Replies: 2 comments 1 reply
-
This should be non-goal. The UI always dependents on Windows. The goal is to dependent on a fixed version of Windows with different versions of UI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe our plan is indeed to Reunionize these Foundation APIs to remove all direct dependencies on the platform, @anawishnoff do you have some more perspectives from the WinUI team on this topic? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently many of the WinUI classes and methods depend directly on types from Windows.Foundation. An example would be TypedEventHandler, and I am there are many other examples.
It would be more logical to eliminate this dependency on Windows by putting the types into Microsoft.Foundation. After all, the objective is to separate the UI classes from Windows.
Is it planned to make that change, or to just keep using Windows.Foundation namespace in WinUI ? If the latter then what other Windows namespaces are going to remain embedded in WinUI ?
sjb
Beta Was this translation helpful? Give feedback.
All reactions