C
C#2y ago
OmegaLol21

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
sibber
sibber2y ago
why do you want to do that?