Back to Devexpress

ITableBorders Interface

aspnetcore-js-devexpress-dot-richedit-ac573946.md

latest2.7 KB
Original Source

ITableBorders Interface

Contains table borders.

Declaration

ts
export interface ITableBorders

Remarks

Use the Table.borders property to access table borders and customize their settings.

Note

Cell border settings take priority over table border settings.

The following code example customizes table borders:

js
const subDocument = richEdit.selection.activeSubDocument;
const table = subDocument.tables.getByIndex(0);
const outerBorder = {style: 1, width: 30, color: '#4974a5'};
const innerBorder = {style: 4, width: 15, color: '#d3d3d3'};
table.borders = { bottom: outerBorder, top: outerBorder, left: outerBorder, right: outerBorder,
                  insideHorizontal: innerBorder, insideVertical: innerBorder};

Inheritance

ITableBorders TableBorders

Properties

bottom Property

Returns the table’s bottom border settings.

Declaration

ts
bottom?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

insideHorizontal Property

Returns settings of the horizontal borders between table rows.

Declaration

ts
insideHorizontal?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

insideVertical Property

Returns settings of the vertical borders between table columns.

Declaration

ts
insideVertical?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

left Property

Returns the table’s left border settings.

Declaration

ts
left?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

right Property

Returns the table’s right border settings.

Declaration

ts
right?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|

top Property

Returns the table’s top border settings.

Declaration

ts
top?: TableBorder

Property Value

TypeDescription
TableBorder

An object that contains border settings.

|