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

  • SEARCH
  • Home
  • 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 574711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:51:37+00:00 2026-05-13T13:51:37+00:00

I have an existing WinForms application for which I’m now designing new bits in

  • 0

I have an existing WinForms application for which I’m now designing new bits in WPF. Things are going reasonably well and I have run into my first need for a dialog.

I’d like to do the dialog in WPF. It appears as though I’m going to need to do a UserControl for the actual content and then host that content via a WinForms form with an ElementHost (since UserControl has no ShowDialog() method).

And that’s where my question is. How does that work? Best I can tell, the WPF UserControl doesn’t even have a DialogResult property (which makes sense given that it has no ShowDialog() method) – it looks to me like I’d need a WPF Window control – and I don’t think I can use that in this case.

Struggling with the basic flow and setup of things here. Can someone shine a light?

Is this even possible?

  • 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-05-13T13:51:38+00:00Added an answer on May 13, 2026 at 1:51 pm

    You can open a WPF window from a WinForms application.

    Just create the window and call ShowDialog(). The CLR will load the WPF framework and open the window.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have existing Java application that is using Acegi for authentication/authorization. Our new web
I have existing application which uses Sql server 2005 as a backend. It contains
We have a WinForms desktop application, which is heavily multithreaded. 3 threads run with
I have an existing C# 3.0 WinForms project with .NET 3.5 that talks to
I have a simple winforms application that I am connecting to my database with
Scenario I have a c# winforms application with a gridview. The gridview datasource is
I am starting a new Winforms application, and I've always used traditional ADO.NET methods
We have a typical business application with an Outlook-looking Winforms client talking to asmx
I have an existing application (C#/Win forms). I need to add functionality to the
I have an existing winform app which didn't use Program.cs. I wanted to add

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.