Active Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value specifying whether the TrackedChange is currently active or not. An inactive TrackedChange is not highlighted and is not retrieved through the TrackedChangeCollection.GetItem method. When the state changes from active to inactive or vise versa, a TrackedChangeStateChanged event occurs.
Syntax
public bool Active { get; set; }Public Property Active As BooleanExamples
The following example makes the current revision active and scrolls it into view.
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
return;
}
trackedChange.Active = true;
trackedChange.ScrollTo();Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
Return
End If
trackedChange.Active = True
trackedChange.ScrollTo()