Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to host a WPF application (it's displaying a UserControl) inside a WPF application ?

Thank you,

What I have tried:

I tried the solution described here :
Hosting EXE Applications in a WPF Window Application[^]

The solution is working well with Notepad and Notepad++ but it's opening a new window with my WPF application
Posted
Updated 5-Jul-18 11:01am
v2

1 solution

If you're going to insist on two application, that is the best behavior you're going to get.

Don't use another application simply for a user control in it. Make the user control it's own library and you can use it an any number of applications.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900