VS2015, C# how to implement WPF within winform?

Has anyone have procedure and/or demo code that shown WPF object (ir datagridview, button, checkbox) within WinForm.

I tried in past in VS2015 but could not get it working correctly.

I like to try again.
Richard PayneChief Technology EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard PayneChief Technology EngineerAuthor Commented:
Eric....Does it work on VS2015?
Éric MoreauSenior .Net ConsultantCommented:
I just did a test using VS2015. I created a C# Windows Forms project, I have added a WPF User Control library project to the solution (with a button on a control and handling the Click event). Finally, I have dropped the WPF control on my Windows form and it works.

Are you trying to directly drag a WPF control on a Windows form? That cannot be done.
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Richard PayneChief Technology EngineerAuthor Commented:
Ok, that maybe why, I try do experiment.
BTW, can you include the demo that you have done if possible. thx.
Éric MoreauSenior .Net ConsultantCommented:
there is a downloadable with my article!
Richard PayneChief Technology EngineerAuthor Commented:
Sorry, ok.
Éric MoreauSenior .Net ConsultantCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.