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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:34:43+00:00 2026-05-25T13:34:43+00:00

I am looking into developing a GUI that will switch the controls based on

  • 0

I am looking into developing a GUI that will switch the controls based on the value of the selected combo box item.

I have tried adding a different canvas or grid to the gui designer in visual studio but it comes hard to manage as everything overlaps each other in the designer and is hard to know what’s what.

Is there an easy way that I can do this, is there a particular control that makes this easy to achieve. I don’t really want code the gui in c# and not use xaml.

What I was hoping to do is that all the controls are in there own panel and when the combo box value is changed one panel is removed or hidden and the other is shown.

How can something like this be achieved.

Thanks for any help you can provide

  • 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-25T13:34:44+00:00Added an answer on May 25, 2026 at 1:34 pm

    You could implement each different “mode” as a separate UserControl.

    Then have a shell with the combobox, where the combobox OnChange will swap out what UserControl is plugged into the shell.

    Any other totally common components such as OK/cancel buttons could be part of the shell.

    A completely alternative implementation to consider is a tabbed approach, but that probably only flies if it makes sense for the user to act on several of them.

    What will you do if the user selects A in the combo, makes changes in UserControlForA, and then selects B in the combo? Could be an annoying corner case, and if this is production code the sort of thing that you’ll get future user requests to change how it works.

    If you’re sure of the design go for it. If not, I’d play around with a few apps and try to find a nice example of the same sort of thing, and consider how they approached it.

    But techwise I think a UserControl is what you’re describing.

    (Edit: crud just saw the xaml/wpf in the question, not sure this is correct in that context, clueless there)

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

Sidebar

Related Questions

I'm looking into developing an application that will process data from a line-scan camera
I'm looking into developing an iPhone app that will potentially involve a simple analysis
We're looking into developing a product that would use Amazon's cloud tools (EC2, SQS,
We're looking into developing an application that can read from and write to Lotus
Does anyone know of a GUI written for Apache ANT. We're looking into developing
I am currently looking into developing an application in C#. The application will need
I am looking into developing a commercial application using PHP. Since I have experience
I am currently looking into developing some WebParts for Microsoft Sharepoint 2010. I have
Am looking into developing an iPhone native app using Titanium Developer Since this is
I am looking into developing a small app to run on a blackberry which

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.