ID Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the table's identifier. It must be between 10 and short.MaxValue.
Syntax
public int ID { get; set; }Public Property ID As IntegerExamples
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);textControl.Tables.Add(4, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
table.ID = 100
Dim identifiedTable As Table = textControl.Tables.GetItem(table.ID)