TX Text Control .NET for Windows Forms

TableCell Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

If the merge field is inside of a table, this property returns the containing table cell as a TXTextControl.TableCell instance or null otherwise.

Syntax

public TableCell TableCell { get; }

Examples

The following example includes the table cell value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Table Cell: {fieldMergedEventArgs.TableCell}");
Console.WriteLine("Field Merged Event Args is ready for use.");

Limitations

Read only.

Further Reading

  • MailMerge: Using the FieldMerged Event to Highlight Table Cells –