An instance of the Table
public sealed class TableRowCollection: TablePartCollectionPublic NotInheritable Class TableRowCollection
Inherits TablePartCollectionThe following example shows how to handle the table row collection.
int myLastRow = myTable.Rows.Count;
TXTextControl.TableRow myRow = myTable.Rows.GetItem(myLastRow);
myRow.Select();
if(myTable.Rows.CanRemove)
myTable.Rows.Remove();Dim MyLastRow As Integer = myTable.Rows.Count
Dim MyRow As TXTextControl.TableRow = MyTable.Rows.GetItem(MyLastRow)
MyRow.Select()
If MyTable.Rows.CanRemove Then
MyTable.Rows.Remove()
End If| Method | Description |
|---|---|
| Add | Adds new table rows at the current text input position. |
| Copy |
Copies the elements of the collection to an array, starting at a particular index. |
| Get |
Returns an enumerator that can be used to iterate through the collection.
(Inherited from Table |
| Get |
Gets a particular table row from the collection. |
| Remove | Removes the selected table rows or the row at the current text input position. |
| Property | Description |
|---|---|
| Can |
Gets a value indicating whether a new row can be inserted at the current input position. |
| Can |
Gets a value indicating whether selected rows can be removed. |
| Count | Gets the number of elements contained in the collection.
(Inherited from Table |
| Is |
Returns true if the collection is designed to be thread safe, otherwise, it returns false.
(Inherited from Table |
| Sync |
Gets an object that can be used to synchronize access to the collection.
(Inherited from Table |