TableLayoutPanelGrowStyle Enumeration
.NET Framework (current version)
Specifies how a TableLayoutPanel will gain additional rows or columns after its existing cells are full.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| AddColumns | The TableLayoutPanel gains additional columns after it is full. | |
| AddRows | The TableLayoutPanel gains additional rows after it is full. | |
| FixedSize | The TableLayoutPanel does not allow additional rows or columns after it is full. |
If all the cells in the TableLayoutPanel are filled and the GrowStyle property is set to FixedSize, an attempt to add another control will throw an exception.
The following example shows how to use TableLayoutPanelGrowStyle to set the GrowStyle property on a TableLayoutPanel control. This code example is part of a larger example provided for the TableLayoutPanel control.
.NET Framework
Available since 2.0
Available since 2.0
Show: