TX Text Control .NET for WPF

ID Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets an identifier for the document target. This identifier can be used to uniquely identify the target.

Syntax

public int ID { get; set; }

Examples

The following example creates a named destination for an internal document link by using DocumentTarget.ID.

DocumentTarget documentTarget = new("CustomerDetails");
textControl.DocumentTargets.Add(documentTarget);

documentTarget.ID = 100;
Console.WriteLine($"ID used by Document Target: {documentTarget.ID}");