dotnetmonitor.com

 
Index
Previous
Next

 

Whereas the getter for RowCount / ColumnCount returns the number of rows or columns in the table layout panel respectively, the setter is peculiar in that it sets the minimum number of rows or columns to create. This is throttled by the surprisingly well named GrowStyle property that determines how and if rows or columns are added via the AddRows (default), AddColumns or Fixed option.

 

GrowStyle

Rows property

Columns property

Fixed

Specifies the number of rows to create

Specifies the number of columns to create

AddRows

specifies the minimum number of rows to create, more will be created if needed.

Specifies the number of columns to create

AddColumns

specifies the number of rows to create.

Columns property specifies the minimum number of rows to create, more will be created if needed

Terms
Docking Anchor Layout
What happens when I have Dock and Anchors that conflict?
Dock Scenarios
Padding Margin
You have a perf problem with Layout - how to diagnose?