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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:29:19+00:00 2026-05-23T09:29:19+00:00

Alright so doing some WPF programming, which I don’t do often… And I need

  • 0

Alright so doing some WPF programming, which I don’t do often… And I need to have like, on the main page I have 2 buttons, and each button is going to hide the main page and display a different page of controls.

I’m currently using ContentControl, and showing/hiding them as needed. And it’s starting to get messy.
And I’m sure there’s a better way to do this.

So… Suggestions =]?

EDIT: Sorry about it being vague, what I currently have is 2 buttons in a ContentControl, when clicking one of the buttons it hides that ContentControl, and shows a different ContentControl, with its own set of controls, and a back button. When clicking that back button it hides the current ContentControl, and shows the original. And this is getting messy, so im looking for a better method of doing 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-05-23T09:29:20+00:00Added an answer on May 23, 2026 at 9:29 am

    I suggest you take a look at some MVC type of framework. They are design pattern solutions for problems just like the one you are describing.

    The framework that I like most, because it’s simple to understand and learning curve is not so steep is the MVVM Light Toolkit, but there is also PRISM and Caliburn.

    They might seem a little bit more complicated, but the clarity and organization it promotes in your code will pay off in the end.

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

Sidebar

Related Questions

Alright im doing a site which is available in multiple languages. I have ran
Alright, I have been doing the following (variable names have been changed): FileInputStream fis
Alright. I have a query that looks like this: SELECT SUM(`order_items`.`quantity`) as `count`, `menu_items`.`name`
Alright, so I have a query that looks like this: SELECT `orders`.*, GROUP_CONCAT( CONCAT(
Alright, so I've been doing some poking around, and I realize my problem, but
Alright, I have received some helpful information on this personal site I am working
I've written a multi-project .vstemplate file, which works alright, except that the projects have
Alright, after doing a ton of research and trying almost every managed CPP Redist
Alright, currently I have my SWF hitting a php file that will go and
Alright. So I have a very large amount of binary data (let's say, 10GB)

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.