TX Text Control .NET for Windows Forms

Id Property

Property|Introduced in 21.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 or sets the content control's id.

Syntax

public long Id { get; set; }

Examples

The following example uses ContentControlFieldAdapter.Id to configure id as part of the content control field adapter workflow. The configured value is checked before the workflow continues.

contentControlFieldAdapter.Id = 100;
Console.WriteLine($"Id used by Content Control Field Adapter: {contentControlFieldAdapter.Id}");