officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-table-85a2f2da.md
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
float TableCellSpacing { get; set; }
Property TableCellSpacing As Single
| Type | Description |
|---|---|
| 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
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
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
// The distance between cells is 4 mm.
table.TableCellSpacing = 2;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L66
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
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
' The distance between cells is 4 mm.
table.TableCellSpacing = 2
See Also