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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:11:22+00:00 2026-06-02T23:11:22+00:00

I am developing a WPF Application for a Shop. So i have a MainWindow

  • 0

I am developing a WPF Application for a Shop.

So i have a MainWindow and all the rest will be Child.

Which is the best thing to Use as Child Window.

  1. Window
  2. UserControl

Window will be normal, it will be top on the MainWindow and if its UserControl it will be in a Canvas of a MainWindow.

So can anyone suggest me which is best to use out of this two.

  • 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-02T23:11:23+00:00Added an answer on June 2, 2026 at 11:11 pm

    I would recommend using UserControls for your child windows. This allows you to set up all of the “parent” controls on your main window and the children won’t override them.

    As a further suggestion, I would recommend looking into Caliburn Micro. That is a great framework for dealing with WPF windows and user controls.

    To add a child UserControl to the parent window, I usually just add a ContentControl to my main form like so:

    <ContentControl x:Name="ViewWindow" Margin="10" />
    

    Just assign your child to that control and you will be fine.

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

Sidebar

Related Questions

Context: I'm developing a WPF application which will contain a lot of different screens.
i'm developing an application (wpf) that have 3 windows. in the main window user
I am developing a WPF application, and have a TextBlock which I want to
I am developing a WPF application which consists of a single window and many
I'm developing a WPF application using MVVM. Inside a Window, I have a control
I am developing WPF application which will be executing on the 21-inch touch-screen. Along
I am developing a WPF application, and I need your advice. I have to
We are developing a WPF application which uses Telerik's suite of controls and everything
I'm developing a WPF application which reads and writes XML data. I'm coming from
I'm currently developing a WPF application in C# and I want to have a

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.