Version

GridBagConstraint Constructor(Int32,Int32,Int32,Int32)

Constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal originX As Integer, _
   ByVal originY As Integer, _
   ByVal spanX As Integer, _
   ByVal spanY As Integer _
)
public GridBagConstraint( 
   int originX,
   int originY,
   int spanX,
   int spanY
)

Parameters

originX
Where the layout item will be placed horizontally in the virtual grid of the grid-bag layout.
originY
Where the layout item will be placed horizontally in the virtual grid of the grid-bag layout.
spanX
Specifies the number of cells this item will span horizontally.
spanY
Specifies the number of cells this item will span vertically.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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