The following tables list the members exposed by IGridBagConstraint.
Name | Description | |
---|---|---|
Column | 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 GridBagConstraintConstants.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 GridBagConstraintConstants.Relative. Column should be a non-negative value. | |
ColumnSpan | Specifies the number of cells this item will span horizontally. The constant GridBagConstraintConstants.Remainder specifies that this item be the last one in the row and thus occupy remaining space. | |
ColumnWeight | Indicates how the extra horizontal space will be distributed among items. Default value is 0.0. Higher values give higher priority. The weight of the column in the virtual grid the grid-bag layout represents is the maximum ColumnWeight of all the items in the row. | |
HorizontalAlignment | Horizontal alignment of the item within its logical cell. | |
Margin | Indicates the padding around the layout item. | |
Row | 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 topmost cell has Row 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. Row should be a non-negative value. | |
RowSpan | Specifies the number of cells this item will span vertically. The constant GridBagConstraintConstants.Remainder specifies that this item be the last one in the column and thus occupy remaining space. | |
RowWeight | Indicates how the extra vertical space will be distributed among items. Default value is 0.0. Higher values give higher priority. The weight of the column in the virtual grid the grid-bag layout represents is the maximum RowWeight of all the items in the column. | |
VerticalAlignment | Horizontal alignment of the item within its logical row. |