Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to add xaml file in window form(VB.net). how to add it(xaml file) and how to show it on button click event? plz help me.
Posted

You cannot directly add a xaml file in windows form.
You either work with WPF or with xaml.
 
Share this answer
 
The only way to use WPF controls on a Windows Form is to use a ElementHost[^]. You need to create a WPF control and then you can host that on a Windows Form:
http://msdn.microsoft.com/en-us/library/ms742215%28v=vs.110%29.aspx[^]
 
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