Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7980451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:04:52+00:00 2026-06-04T10:04:52+00:00

i cant find good ways for embedding a mediaelement in my Winform in C#.

  • 0

i cant find good ways for embedding a mediaelement in my Winform in C#. I have a PictureBox or Panel in Winform that should be loaded a UserControl in wpf. is this possible at all? if yes ,please give me a litte pseudocode. thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:04:54+00:00Added an answer on June 4, 2026 at 10:04 am

    You need the ElementHost control in WinForms to host WPF controls

    From that page:

    private void Form1_Load(object sender, EventArgs e)
    {
        // Create the ElementHost control for hosting the
        // WPF UserControl.
        ElementHost host = new ElementHost();
        host.Dock = DockStyle.Fill;
    
        // Create the WPF UserControl.
        HostingWpfUserControlInWf.UserControl1 uc =
            new HostingWpfUserControlInWf.UserControl1();
    
        // Assign the WPF UserControl to the ElementHost control's
        // Child property.
        host.Child = uc;
    
        // Add the ElementHost control to the form's
        // collection of child controls.
        this.Controls.Add(host);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have googled my question many times but i cant find a good solution.
Im pretty new to Java Web Services, but I cant find a good explanation
I want to have a good test setup but, I can't find a way
but cant find any information. Restricted on time. I have a Datagridview, 6 fields.
I need some help, i have been searching around and cant find the correct
All over the net i cant find a good tutorial for mongodb basics with
Can someone help me translate this query to LINQ? I cant find a good
I have registered with RIM for the push notification evaluation. But i cant find
I cant find a good way to use sessions stored in mysql with express
i think this one is simple but i cant find a good example. What

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.