© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
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
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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WPF - Custom Control Help
C#CC# / help
15mo ago
Extending custom WPF control
C#CC# / help
3y ago
Custom Control WPF - Combobox with search bar and listview
C#CC# / help
4y ago
✅ Placeholder text in WPF control
C#CC# / help
3y ago