TableLayoutStyle.SizeType Property

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 system.windows.forms.dll)

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)

Not applicable.

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 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

Community Additions

ADD
Show: