I am creating a WinForm application (.net3.5) where I am showing some client information. My problem is that we have a directions field that correlates with the address. To save the room, I would like the directions to be hidden until the user βwantsβ them to be seen. My intended method was to have an "accordion", as a presentation for these directions.I would suggest that I could also do this with a hidden field and BringToFront () (it would be better).
Can anyone suggest some recommendations on the accordion style?Does something already exist?Do I need to consider something special? When coding my own behavior; Can I just move everything and then back up, etc.?
Thanks!
When I need this type of behavior, I find it TableLayoutPaneluseful. You can set rows and columns to auto size if you have extensible content. That way, when you hide the content, the line crashes.
TableLayoutPanel
(, ), .
, , 1 . . ( , - , ). , , .
, , Progressive Disclosure. Microsoft UX .
, , / , / , "..." / "<; < Less Detail".
EDIT: , , / .
If the controls are loose, then yes - you have to move things up or down. You can reduce the amount of work by encapsulating groups of related controls in a panel: then you just need to move the panels. If the panels are docked (for example, "on top"), then just hide / show the panel, and everything should automatically fall into place.
Source: https://habr.com/ru/post/1702601/More articles:Does Rails ORM limit aggregation capability? - ruby ββ| fooobar.comC # application over the network - c #How to compare two arrays and a list of differences in PHP? - arraysLPTSTR for int (C ++) - c ++Where is the best way to load accurate lat / long / alt data? - geolocationRefresh Image Src - javascriptCUDA + Visual Studio = disabled output window - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1702604/adding-fields-to-a-webservice&usg=ALkJrhiyKKll8y2eFLw10jJC6WiIb3L4IgVectorized Image - .netJava on mainframes - javaAll Articles