System.Windows.Forms.TableLayoutPanel.GrowStyle Property

Gets or sets a value indicating whether the System.Windows.Forms.TableLayoutPanel control should expand to accommodate new cells when all existing cells are occupied.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.TableLayoutPanelGrowStyle.AddRows)]
public TableLayoutPanelGrowStyle GrowStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the System.Windows.Forms.TableLayoutPanel control expands downward by adding rows.

Note:

If an attempt is made to add a control to a full System.Windows.Forms.TableLayoutPanel control, and the value of TableLayoutPanel.GrowStyle is TableLayoutPanelGrowStyle.FixedSize, then an ArgumentException is thrown.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0