TX Text Control .NET for Windows Forms

TablePartCollection Class

Class
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Derived
TableCellCollection, TableColumnCollection, TableRowCollection
Implements
ICollection, IEnumerable

Description

The TablePartCollection class is the base class of the TableRowCollection, TableColumnCollection and TableCellCollection classes. It implements their base functionality and the IEnumerable and the ICollection interface.

Syntax

public abstract class TablePartCollection : ICollection, IEnumerable

Examples

The following example includes the count value from a Table Part Collection object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Count: {tablePartCollection.Count}");
Console.WriteLine("Table Part Collection is ready for use.");

Members

Properties

PropertyDescription
CountGets the number of elements contained in the collection.
IsSynchronizedReturns true if the collection is designed to be thread safe, otherwise, it returns false.
SyncRootGets an object that can be used to synchronize access to the collection.

Methods

MethodDescription
CopyToNot described in the reference. public abstract void CopyTo(Array array, int index);
GetEnumeratorReturns an enumerator that can be used to iterate through the collection.