Back to Devexpress

ITableCellBorders Interface

aspnetcore-js-devexpress-dot-richedit-919e59d9.md

latest1.9 KB
Original Source

ITableCellBorders Interface

Contains cell borders.

Declaration

ts
export interface 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} }

Inheritance

ITableCellBorders TableCellBorders

Properties

bottom Property

Returns a cell’s bottom border settings.

Declaration

ts
bottom?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

left Property

Returns a cell’s left border settings.

Declaration

ts
left?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

right Property

Returns a cell’s right border settings.

Declaration

ts
right?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

top Property

Returns a cell’s top border settings.

Declaration

ts
top?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|