Back to Devexpress

Table.TableCellSpacing Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-table-85a2f2da.md

latest3.9 KB
Original Source

Table.TableCellSpacing Property

Gets or sets the amount of space in between the cells of a table.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
float TableCellSpacing { get; set; }
vb
Property TableCellSpacing As Single

Property Value

TypeDescription
Single

A Single value specifying the amount of space in measurement units that are currently in effect.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the TableCellSpacing property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Table.cs#L76

csharp
document.Unit = DevExpress.Office.DocumentUnit.Millimeter;
table.TableCellSpacing = 2;
// Change the color of empty space between cells.

wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/TableActions.cs#L177

csharp
document.Unit = DevExpress.Office.DocumentUnit.Millimeter;
table.TableCellSpacing = 2;
// Change the color of empty space between cells.

word-document-api-examples/CS/CodeExamples/TablesActions.cs#L122

csharp
// The distance between cells is 4 mm.
table.TableCellSpacing = 2;

winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L66

vb
document.Unit = DevExpress.Office.DocumentUnit.Millimeter
table.TableCellSpacing = 2
' Change the color of empty space between cells.

wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/TableActions.vb#L158

vb
document.Unit = DevExpress.Office.DocumentUnit.Millimeter
table.TableCellSpacing = 2
' Change the color of empty space between cells.

word-document-api-examples/VB/CodeExamples/TablesActions.vb#L112

vb
' The distance between cells is 4 mm.
table.TableCellSpacing = 2

See Also

Table Interface

Table Members

DevExpress.XtraRichEdit.API.Native Namespace