Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using TablePanelLayout in my application and i want to set its row quantity at run time according to situation..
give me any sugestion plz
Posted

1 solution

You could try setting the TableLayoutPanel.RowCount property to a value that suits your needs.

If decreasing row count, don't forget to remove child controls from TableLayoutPanel in advance. Otherwise TableLayoutPanel could refuse to delete rows in order to preserve its children.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900