---
title: TableStrokeStyle
framework: applenewsformat
role: symbol
role_heading: Object
path: applenewsformat/tablestrokestyle
---

# TableStrokeStyle

The object for defining the color, width, and style of a stroke in a table.

## Declaration

```data
object TableStrokeStyle
```

## Properties

color: The stroke color. The value defaults to #000 (black). style: The style of the stroke. width: The width of the stroke line.

## Discussion

Discussion You can specify the color, style (solid), and width of a stroke in a table. For example, apply style to divider lines between rows. Example {   "componentStyles": {     "exampleStyle": {       "tableStyle": {         "rows": {           "backgroundColor": "#fff",           "divider": {             "width": 1,             "color": "#ddd"           }         }       }     }   } }

## See Also

### Table Styles

- [Defining and Using Table Styles](applenews/defining-and-using-table-styles.md)
- [TableStyle](applenewsformat/tablestyle.md)
- [TableRowStyle](applenewsformat/tablerowstyle.md)
- [ConditionalTableRowStyle](applenewsformat/conditionaltablerowstyle.md)
- [TableRowSelector](applenewsformat/tablerowselector.md)
- [TableColumnStyle](applenewsformat/tablecolumnstyle.md)
- [ConditionalTableColumnStyle](applenewsformat/conditionaltablecolumnstyle.md)
- [TableColumnSelector](applenewsformat/tablecolumnselector.md)
- [TableCellStyle](applenewsformat/tablecellstyle.md)
- [ConditionalTableCellStyle](applenewsformat/conditionaltablecellstyle.md)
- [TableCellSelector](applenewsformat/tablecellselector.md)
- [TableBorder](applenewsformat/tableborder.md)
- [Padding](applenewsformat/padding.md)
- [FormattedText](applenewsformat/formattedtext.md)
