FormFieldMergedEventArgs Class
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Event
Args - Mail
Merge. Form Field Merged Event Args
- Event
Description
The FormFieldMergedEventArgs class provides data for the FormFieldMerged event.
Syntax
public class MailMerge.FormFieldMergedEventArgs : EventArgsPublic Class MailMerge.FormFieldMergedEventArgs
Inherits EventArgsExamples
The following example includes the form field value from a Form Field Merged Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Form Field: {formFieldMergedEventArgs.FormField}");
Console.WriteLine("Form Field Merged Event Args is ready for use.");Console.WriteLine($"Form Field: {formFieldMergedEventArgs.FormField}")
Console.WriteLine("Form Field Merged Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| DataRow | Gets the data row which is used to supply the current field with merge content. |
| FormField | Gets the already merged FormField. |
| MergeBlockName | If the form field is part of a merge block, this property returns the name of the block. If not, an empty string is returned. |
| Merged | Gets a boolean value that indicates whether the current field has been merged successfully or not. |
| NestingDepth | If the form field is part of a merge block, this property returns the one-based nesting depth of the block. Otherwise 0 is returned. |
| SubTextPartID | Gets the ID of the subtext part the field is part of. Is 0 if the field is not part of a subtext part. |
| SubTextPartNumber | Gets the 1-based number of the subtext part the field is part of. Is 0 if the field is not part of a subtext part. |
| TableCell | If the form field is inside of a table, this property returns the containing table cell as a TXTextControl.TableCell instance or null otherwise. |