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

I have a WPF MainWindow that its running and also is wrote by a xaml user control in a new project and compile to dll.
I want add this xaml or dll into the MainWindow at runtime.
like adding a plug-in or tool idea on other softwares. What should I do?

Thanks in advance;)

Share this answer
hzawary 19-Nov-11 9:53am    
Thanks RaviRanjankr, I have a user control in new project and I want add it into the my project in MainWindow at runtime and didn't want dynamic control;)
RaviRanjanKr 19-Nov-11 10:03am    
so will you please show your effort.
Whatever try :-
hzawary 19-Nov-11 10:16am    
Thanks again,burak understand question me! actually I want this article in WPF codes,
Burak Ozdiken 19-Nov-11 10:49am    
look at this it will help you, and,
RaviRanjanKr 19-Nov-11 11:28am    
Thanks For the link.
Look at this article, they are similar.

Self Contained Assembly[^]
Share this answer
hzawary 19-Nov-11 9:57am    
Thanks burak, is there WPF or xaml for this too?
RaviRanjanKr 19-Nov-11 16:07pm    
My 5+

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