Some classes do not work well on Xaml Islands. #3205
Labels
bug 🐛
An unexpected issue that highlights incorrect behavior
Completed 🔥
improvements ✨
introduce breaking changes 💥
Milestone
Describe the bug
Related to CommunityToolkit/Microsoft.Toolkit.Win32#228
There are a lot of issues when some controls and helpers of the toolkit run in the context of a Xaml Island. We need these fixed.
Steps to Reproduce
For example, try to use the ThemeListener class in a WPF app with Islands. It will throw exceptions.
Anything that leverages the Dispatcher using, for example CoreApplication.MainView.Dispatcher, will not work inside Xaml Islands since there is no such thing as a MainView. We need to refactor those to use the new DispatcherQueue.
Expected behavior
Should work in UWP and inside Xaml Islands (.Net Core).
Environment
NuGet Package(s): 6.0.0
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio
The text was updated successfully, but these errors were encountered: