Host custom control with handle in WPF or WinUI?
Hi, I am just wondering if it is possible to have a control that is hosted inside of a WPF or WinUI application, to have a handle, like WinForms? In WPF, I know it is possible to use the
WindowsFormsHost
control but it requries adding the WinForms dll and I am just wondering if there is another way to do it without referencing the framework libraries? And also if it would be possible in WinUI too.1 Reply
why do you want to do that?