Version

Column Property (GridBagConstraint)

Column and Row define where the layout item will be placed in the virtual grid of the grid-bag layout. Column specifies the location horizontally while specifies the location vertically. These locations are the coordinates of the cells in the virtual grid that the grid-bag layout represents.

The leftmost cell has Column of 0. The constant Relative specifies that the item be placed just to the right of the item that was added to the layout manager just before this item was added.

The default value is Relative. Column should be a non-negative value.

Syntax
'Declaration
 
Public Property Column As Integer
public int Column {get; set;}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also