Click here to Skip to main content
15,893,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi dear guys
I have 2 projects in my solution
One of them is winforms and another one is xaml
I want load MainWindow.xaml in tab control in winforms project

What I have tried:

reference added
Please help me
Warm regards
Posted
Updated 13-Nov-18 7:02am

1 solution

You can do this by hosting your XAML control in a ElementHost[^].

/ravi
 
Share this answer
 
Comments
[no name] 13-Nov-18 13:27pm    
Please more explain
Ravi Bhavnani 15-Nov-18 22:00pm    
See the answer to this SO question: https://stackoverflow.com/questions/5053501/put-wpf-control-into-a-windows-forms-form

/ravi

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