Back to Devexpress

TableCellBorders Class

aspnetcore-js-devexpress-dot-richedit-685dcbda.md

latest1.3 KB
Original Source

TableCellBorders Class

Contains cell borders.

Declaration

ts
export class TableCellBorders extends TableBordersBase implements ITableCellBorders

Remarks

Use the TableCell.borders property to access cell borders and customize their settings.

Note

Cell border settings take priority over table border settings.

The following code example customizes cell borders:

js
const subDocument = richEdit.selection.activeSubDocument;
const table = subDocument.tables.getByIndex(0);
const cell = table.rows.getByIndex(1).cells.getByIndex(0);
cell.borders = { top: { style: 5, color: 'blue', width: 20} }

Implements

ITableCellBorders

Inherited Members

bottom

left

right

top

Inheritance

TableBordersBase TableCellBorders