The object for applying styles to rows in a table.
- Apple News Format 1.7+
The background color for the table row.
If this property is omitted, the background is transparent.
The cell background color is highest priority, followed by the column, and finally the row. All three colors are applied, meaning that non-opaque values can cause combined colors. For example, using a red row together with a blue column, both with 50% opacity, creates a purple cell.
An array of styles to be applied only to rows that meet specified conditions. This can be used to create a table with alternating row background colors.
The stroke style for the divider lines between rows.
The height of the table row, as an integer in points, or using the available units for components.
By default, the height of each row is determined by the height of the content in that row. See Specifying Measurements for Components.
You can apply styles that affect the look of the table rows, including the row background color, the color of the divider lines between rows, and the height of a row. For example, you could add a blue background color and apply a medium-gray divider to each row in your table.
You can also set up conditional row styles—styles that are applied only to rows that meet certain criteria. For example, you could apply a background shading to all odd-numbered rows. See ConditionalTableRowStyle.
This object can be used in TableStyle.