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 the table's identifier. It must be between 10 and short.MaxValue.

Syntax

public int ID { get; set; }

Examples

The following example assigns a stable identifier to a table and uses it to retrieve the same table later.

textControl.Tables.Add(4, 3, 10);
Table table = textControl.Tables.GetItem(10);

table.ID = 100;
Table identifiedTable = textControl.Tables.GetItem(table.ID);