TableRow

References
[ContentProperty("Cells")] [TypeConverter(TableRowConverter)] public class TableRow
Represents the contents of a row in a TableLayout

Constructors

TableRow

#
public TableRow(IEnumerable<TableCell> cells)
Initializes a new instance of the TableRow class with the specified cells.

TableRow

#
public TableRow(params TableCell[] cells)
Initializes a new instance of the TableRow class with the specified cells.

Properties

Cells

#
public Collection<TableCell> Cells { get; set; }
Gets or sets the cells in this row.

ScaleHeight

#
public bool ScaleHeight { get; set; }
Gets or sets a value indicating whether this TableCell will scale its height
Remarks: All controls in the same row of this cell will get the same scaling value. Scaling will make the row expand to fit the rest of the height of the container, minus the preferred height of any non-scaled rows. If there are no rows with height scaling, the last row will automatically get scaled. With scaling turned off, cells in the row will fit the preferred size of the tallest control.
true if scale height; otherwise, false.

Methods

Scaled

#
public static TableRow Scaled(IEnumerable<TableCell> cells)
Creates a scaled table row with the specified cells
Remarks: This is the same as creating a new TableRow and setting ScaleHeight = true.
cells (IEnumerable<TableCell>)Cells for the table row
A new scaled TableRow with the specified cells

Scaled

#
public static TableRow Scaled(params TableCell[] cells)
Creates a scaled table row with the specified cells
Remarks: This is the same as creating a new TableRow and setting ScaleHeight = true.
cells (params TableCell[])Cells for the table row
A new scaled TableRow with the specified cells

Convertors

OperationResultDescription
implicitTableRowControlImplicitly converts a TableRow to a control
implicitTableRowTableCellImplicitly converts a TableRow to a cell
implicitControlTableRowImplicitly converts a control to a TableRow
implicitImageTableRowConverts an Image to a TableRow with a ImageView control implicitly.
implicitstringTableRowConverts a string to a TableRow with a label control implicitly.
implicitTableCell[]TableRowImplicitly converts an array of cells to a TableRow