microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.35k stars 678 forks source link

Question: Can I host WinForm/WPF Controls in WinUI 3 #5866

Closed IrakliLomidze closed 1 year ago

IrakliLomidze commented 3 years ago

Can I host WinForm/WPF Controls in WinUI 3

https://github.com/microsoft/ProjectReunion -->

ghost1372 commented 3 years ago

No but you can use winui controls in wpf by xaml island

IrakliLomidze commented 3 years ago

Is xaml island the same concept as WPFhostcontrol for WinForm ?

ghost1372 commented 3 years ago

Is xaml island the same concept as WPFhostcontrol for WinForm ?

I do not know the details and I have not used it But here you can read about it https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands

StephenLPeters commented 3 years ago

@marb2000 and @kmelmon FYI

MEK3DK commented 3 years ago

@ghost1372 The link you provide relates to UWP/WinRT, and partly to WinUI 2.

The question here is about WinUI 3.

I would also like to know if you can host WPF in a WinUI 3 app (when xaml islands are done)? Right now it is of course not possible.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.