This documentation is archived and is not being maintained.

TableLayoutStyle.SizeType Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a flag indicating how a row or column should be sized relative to its containing table.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in

public SizeType SizeType { get; set; }
/** @property */
public SizeType get_SizeType ()

/** @property */
public void set_SizeType (SizeType value)

public function get SizeType () : SizeType

public function set SizeType (value : SizeType)

Property Value

One of the SizeType values that specifies how rows or columns of user interface (UI) elements should be sized relative to their container. The default is AutoSize.

The table layout engine sizes a row or column in one of the following ways:

  • In an absolute number of pixels (Absolute).

  • As a percentage of the parent container (Percent).

  • To share equal space with its peers (AutoSize).

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0