Version

OriginY Property (IGridBagConstraint)

OriginX and OriginY define where the layout item will be placed in the virtual grid of the grid-bag layout. OriginX 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 topmost cell has OriginY of 0. The constant GridBagConstraintConstants.Relative specifies that the item be placed just below the item that was added to the layout manager just before this item was added.

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

Syntax
'Declaration
 
ReadOnly Property OriginY As Integer
int OriginY {get;}
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