TX Text Control .NET for Windows Forms

Name Property

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

Description

Gets and sets the name of the field.

Syntax

public string Name { get; set; }

Examples

The following example uses MergeField.Name to give the merge field a stable, descriptive name. The configured value is checked before the workflow continues.

mergeField.Name = "MergeField1";
if (!string.IsNullOrWhiteSpace(mergeField.Name))
{
    Console.WriteLine($"Name: {mergeField.Name}");
}