officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecell-4a3258c7.md
Deletes a cell and shifts the next cell to the left.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
void Delete()
Sub Delete
If you remove the last existing cell in a row, the entire row will be deleted.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Delete() method.
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-tables-simple-example/CS/TablesSimpleExample/Form1.cs#L237
// Delete a cell
table.Cell(1, 1).Delete();
word-document-api-table-examples/CS/Program.cs#L259
//Delete a cell
tbl.Cell(1, 1).Delete();
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Table.cs#L247
//Delete a cell:
tbl.Cell(1, 1).Delete();
//Delete a row:
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/TableActions.cs#L251
tbl.Rows[2].Delete();
tbl.Cell(1, 1).Delete();
word-document-api-examples/CS/CodeExamples/TablesActions.cs#L358
// Delete a cell.
tbl.Cell(1, 1).Delete();
winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L192
' Delete a cell
table.Cell(1, 1).Delete()
' Delete a row
word-document-api-table-examples/VB/Program.vb#L209
'Delete a cell
tbl.Cell(1, 1).Delete()
'Delete a row
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L222
'Delete a cell:
tbl.Cell(CInt((1)), CInt((1))).Delete()
'Delete a row:
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/TableActions.vb#L222
tbl.Rows(2).Delete()
tbl.Cell(1, 1).Delete()
word-document-api-examples/VB/CodeExamples/TablesActions.vb#L306
' Delete a cell.
tbl.Cell(CInt((1)), CInt((1))).Delete()
' Finalize to modify the table.
See Also