I have a user control which is created in Silverlight. Can I include the same user control in WPF..?
Please reply.
Silverlight control in WPF
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 7, 2011, 1:10 AM EDT
You cannot use Silverlight controls in a WPF application, because they reference different runtime assemblies.
But by adding or remove some bits of code and compiling the control with target WPF framework should work. But directly reusing the SL control is not possible.
Thanks.
Dinesh BeniwalRank #9 · 64K reputationPosted Jul 7, 2011, 1:12 AM EDT
http://forums.silverlight.net/forums/p/1178/4244.aspx#4244
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 7, 2011, 1:33 AM EDT
Link for Silverlight and WPF user controls