TableLayoutHorizontal Method (Int32, TableCell) |
Creates a horizontal table layout with the specified cells.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static TableLayout Horizontal(
int spacing,
params TableCell[] cells
)
Public Shared Function Horizontal (
spacing As Integer,
ParamArray cells As TableCell()
) As TableLayout
static member Horizontal :
spacing : int *
cells : TableCell[] -> TableLayout
Parameters
- spacing
- Type: SystemInt32
Spacing between cells - cells
- Type: Eto.FormsTableCell
Cells for the row
Return Value
Type:
TableLayoutA new single row table layout with the specified cells
Remarks
Since table layouts are by default vertical by defining the rows and the cells for each row,
it is verbose to create nested tables when you want a horizontal table. E.g.
new TableLayout(new TableRow(...))
.
This method is used to easily create a single row table layout with a horizontal set of cells. E.g.
TableLayout.Horizontal(...)
See Also