ChangeKind Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the kind of change. It can be inserted or deleted text or an inserted or deleted image, textframe, barcode or form.
Syntax
public ChangeKind ChangeKind { get; }Public ReadOnly Property ChangeKind As ChangeKindMembers
| Value | Description |
|---|---|
| InsertedText | Text has been inserted. |
| DeletedText | Text has been deleted. |
Examples
The following example selects the current revision when it represents inserted text.
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
return;
}
if (trackedChange.ChangeKind == ChangeKind.InsertedText)
{
trackedChange.Select();
}Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
Return
End If
If trackedChange.ChangeKind = ChangeKind.InsertedText Then
trackedChange.Select()
End If