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 9257661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:11:46+00:00 2026-06-18T12:11:46+00:00

In WPF application, I would like to show window b as a dialog inside

  • 0

In WPF application, I would like to show window b as a dialog inside window a when window a is loaded.
I do this with the following pseudocode:

window a.Loaded += WindowALoaded();
WindowALoaded
{
  window b.ShowDialog();
}

This works. However, it displays window b, and window a does not get displayed until I close window b. I would like to display window a completely, and then window b. How would I accomplish this?

  • 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-18T12:11:47+00:00Added an answer on June 18, 2026 at 12:11 pm

    Its because in the load event of WindowA, it does a ShowDialog() of WindowB which then haults all code in WindowA until WindowB is closed. If you do just WindowB.Show(), you should probably see WindowA get loaded. You might need to mess with the Window.Focus() and/or the Window.TopMost properties, depending on how you want to windows to be displaying on top of each other.

    There also is a Window.ContentRendered event instead of the Window.Loaded event which might help in your solution

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

Sidebar

Related Questions

In a WPF application I would like to implement the following behaviour which doesn't
I have a WPF application where i would like to show a progressbar in
I would like to display a WPF window from a windows forms application (.NET
I have a WPF application with several windows. I would like to define GLOBAL
I'm porting my application from Winforms+XNA to WPF (+ XNA?) and I would like
I am using MVVM Light toolkit in my WPF application. I would like to
In my WPF application I would like to attach an input gesture to a
While making a WPF application I would like to change the default FocusVisualStyle (the
I have a WPF application which presents a list of items. I would like
A WPF window dialog is shown using the ShowDialog method in the Window class

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.