This documentation is archived and is not being maintained.

TableLayoutSettings.GrowStyle Property

Gets or sets a value indicating how the table layout should expand to accommodate new cells when all existing cells are occupied.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public TableLayoutPanelGrowStyle GrowStyle { get; set; }
/** @property */
public TableLayoutPanelGrowStyle get_GrowStyle ()

/** @property */
public void set_GrowStyle (TableLayoutPanelGrowStyle value)

public function get GrowStyle () : TableLayoutPanelGrowStyle

public function set GrowStyle (value : TableLayoutPanelGrowStyle)

Not applicable.

Property Value

One of the TableLayoutPanelGrowStyle values. The default is AddRows.

Exception typeCondition

ArgumentException

The property value is not valid for the enumeration type.

The GrowStyle property determines how the layout engine should add a new cell to a full table. This property can be set to AddRows to indicate that rows should be added, AddColumns to indicate that columns should be added, or FixedSize to disallow expansion.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: