Back to Devexpress

TableRow.Delete() Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablerow-3dbf40f7.md

latest4.4 KB
Original Source

TableRow.Delete() Method

Deletes the current row.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void Delete()
vb
Sub Delete

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#L240

csharp
// Delete a row
table.Rows[0].Delete();
table.EndUpdate();

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

csharp
//Delete a row:
tbl.Rows[2].Delete();
tbl.EndUpdate();

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

csharp
tbl.BeginUpdate();
tbl.Rows[2].Delete();
tbl.Cell(1, 1).Delete();

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

csharp
// Delete the third table row.
tbl.Rows[2].Delete();

word-document-api-table-examples/CS/Program.cs#L262

csharp
//Delete a row
tbl.Rows[0].Delete();
tbl.EndUpdate();

winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L194

vb
' Delete a row
table.Rows(0).Delete()
table.EndUpdate()

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

vb
'Delete a row:
tbl.Rows(CInt((2))).Delete()
tbl.EndUpdate()

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

vb
tbl.BeginUpdate()
tbl.Rows(2).Delete()
tbl.Cell(1, 1).Delete()

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

vb
' Delete the third table row.
tbl.Rows(CInt((2))).Delete()
' Delete a cell.

word-document-api-table-examples/VB/Program.vb#L211

vb
'Delete a row
tbl.Rows(0).Delete()
tbl.EndUpdate()

See Also

TableRow Interface

TableRow Members

DevExpress.XtraRichEdit.API.Native Namespace