c# - Show/Hide for cells of TableLayout -


C # Winforms:

My table layout has only one column but it has three rows I want to be able to show / hide I did a Google search and found it works perfect to hide this line, but what to do to show it again? Set height in a strict coded number? Not a good idea ...

  Table layoutPlan 1 .Rostyle [0] .SizeType = SizeType.Absolute; Table layoutPlan 1 .Rostile [0]. Heat = 0;  

What is the proposal to fulfill it?

I argue that you should set up a visual property for each control that you want to show / hide . Probably at least one row and column are set to 100% (they absorb extra space) - hope that helps when the row / column size changes when it appears control / visible.


Comments