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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:49:17+00:00 2026-05-14T16:49:17+00:00

I know it might be silly, I have just started with WPF. I want

  • 0

I know it might be silly, I have just started with WPF.

I want to switch to a different view when a user clicks on a control, for example showing a detail page after a click on a list. This view would replace the original.

In a web application this would be navigating to a different page. What is the local idiom for that?

  • 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-14T16:49:17+00:00Added an answer on May 14, 2026 at 4:49 pm

    I believe that you want to open a different dialog box.

    I organize my WPF controls like so, in a form of the MVC pattern:

    views <==> controller <==> data

    So, when you click on a view, the controller handles the logic of the click, kind of like how a web server handles the logic of user input. The controller then determines whether to open another view or not. If the user input requires some storage or handling of state, then the controller passes that off to the ‘data’ section. That data class will then put things to disk, if necessary. The controller could also pass off to a ‘processing’ class, that will process the input and give it back to the controller, which then determines whether to display the results to the user, put them in a file, both, or neither.

    tl;dr- put your control logic in a backend class rather than the window itself. That backend will then open another window.

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

Sidebar

Related Questions

This might be a silly question, but I just wanted to know. I want
I've just started programming with Java, so might appear as silly question, but I
I know this might sound silly but I have no idea how to do
I have a question with security point of view, it might sound silly but
Might be a silly question, just wanted to know do the following ways on
I know it might be a silly question to ask, but I have a
This question might be silly, but I want to know, if a copy constructor
I know this question might sound quite silly, but I somehow found myself stuck
I know this question might be little silly but I can't seem to find
I know it might look like a silly question but here is my case

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.