# TrackedChange.Active Property

> 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.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > TrackedChange.Active Property
- **494 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/active-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/active-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/active-property/llms-full.txt

---

### 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](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchangecollection/getitem-method/llms-full.txt) method. When the state changes from active to inactive or vise versa, a [TrackedChangeStateChanged](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/trackedchangestatechanged-event/llms-full.txt) event occurs.

### Syntax

```csharp
public bool Active { get; set; }
```

```vbnet
Public Property Active As Boolean
```

### Examples

The following example makes the current revision active and scrolls it into view.

```csharp
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
trackedChange.Active = true;
trackedChange.ScrollTo();
```

```vbnet
Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
    Return
End If
trackedChange.Active = True
trackedChange.ScrollTo()
```

---

## Nearby

- **Previous:** [TrackedChange Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/llms-full.txt)
- **Next:** [TrackedChange.ChangeKind Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/changekind-property/llms-full.txt)
