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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:21:13+00:00 2026-05-11T05:21:13+00:00

I am creating a WinForm App(.net3.5) where I display some Client Details. My issue

  • 0

I am creating a WinForm App(.net3.5) where I display some Client Details. My issue is that we have a directions field that correlates to an Address. To save room I would like to have the directions hidden until the user ‘wishes’ to see them. My intended method was to have an ‘accordion’ like presentation for the directions.
I would imagine I could also do this with a hidden field and BringToFront()(would this be better).

Can someone offer some guidance on the Accordion Style?
Does something already exist?
Do I need to take anything special into account?
In coding my own behavior; Would I just move everything down and then back up etc?

Thanks!

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T05:21:14+00:00Added an answer on May 11, 2026 at 5:21 am

    When I require this type of behaviour, I find that the TableLayoutPanel is useful. You can set the rows and columns to auto-size if holding expandable content – that way, when you hide the content, the row collapses.

    If you then have another control (a button, for example), you can use that to control the hidden state of the expandable content.

    For example, create a 3 row, 1 column table. Add a fixed size button at the top, and an autosize element in the middle. Make the last row percentage-sized (you need this so that something takes the remaining space when the middle row sizes to zero). Then use your button to change the visible property of whatever you have in the middle row.

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

Sidebar

Related Questions

I'm creating winForm app,In that Onbutton click i gather Data Tables from of Two
I have a Winform Gui that serves various purposes. I am creating an additional
I am creating an winform application that will run on a tablet PC. One
I have an .NET 4 .exe (Winform Desktop app) to which I have added
I am creating a WinForm application that basically generates Math worksheets. I know there
We have a customer who needs some simple forms (probably we would be creating
I am creating a test app that will work with query string values. I
I am creating a winform application where I use Nhibernate. In my app I
I have a WinForm for creating Labels. It calls a PrintPreviewDialog and displays information
I have a groupox in a VB.NET winform app. The groupbox contains a few

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.