Back to Devexpress

TableCellCollection.Append() Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecellcollection.md

latest3.0 KB
Original Source

TableCellCollection.Append() Method

Adds a new column to the right of the last column in a table.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
TableCell Append()
vb
Function Append As TableCell

Returns

TypeDescription
TableCell

A TableCell interface specifying the newly added cell.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Append() 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#L29

csharp
// Add a new column to the table
table.Rows[0].Cells.Append();
table.Rows[0].Cells.InsertBefore(0);

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

csharp
//Add a new column to the table
    TableCell newLastColumn = table.Rows[0].Cells.Append();
}

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

vb
' Add a new column to the table
table.Rows(0).Cells.Append()
table.Rows(0).Cells.InsertBefore(0)

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

vb
'Add a new column to the table
    Dim newLastColumn As TableCell = table.Rows(0).Cells.Append()
End Sub

See Also

TableCellCollection Interface

TableCellCollection Members

DevExpress.XtraRichEdit.API.Native Namespace