Change row/column span programatically (tablelayoutpanel)

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-05-04T06:28:58Z Indexed on 2010/05/04 6:58 UTC
Read the original article Hit count: 175

Filed under:
|
|

I have a tablelayoutpanel. 2x2 - 2 columns 2 rows.

For example, I added a button button1 in a 1 row, second column. button1 has a dock property set to Fill. VS Designer allows to set column/row span properties of button1.

I want an availability to change row span property of button1 programatically, so it can fill all second column(1 row and second row) and availability to set it back.

How ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about tablelayoutpanel