Reputation: 930
For understanding XAML Islands, I've gone through https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/host-standard-control-with-xaml-islands
and
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/xaml-islands
but it presents a couple of problems for me. First, ideally, I would like to host WinUI 3 in a .NET Winforms XAML island, which neither these pages nor any I can find have examples of (this is for a plugin in an app that doesn't support WinUI 3 yet, thus using the islands). Also, apparently, hosting WinUI 3 might still be in the works, but I cannot find confirmation whether it is and when it might be available.
Second, the step-by-step example seems to be for earlier versions of .NET (I think it would work with .NET 5 or lower).
Just to get my feet wet, an example of UWP hosted by Winforms in .NET 6+ would be a good start, but I cannot find any examples of how this could be done.
Any help is appreciated.
Upvotes: 0
Views: 36