# TextControl.TrackedChanges Property

> Gets a collection of all changes made in the active part of the document. The property's value is an object of the type TrackedChangeCollection.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.TrackedChanges Property
- **352 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/trackedchanges-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/trackedchanges-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/trackedchanges-property/llms-full.txt

---

### Description

Gets a collection of all changes made in the active part of the document. The property's value is an object of the type [TrackedChangeCollection](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchangecollection/llms-full.txt).

### Syntax

```csharp
public TrackedChangeCollection TrackedChanges { get; }
```

```vbnet
Public ReadOnly Property TrackedChanges As TrackedChangeCollection
```

### Examples

The following example iterates through the tracked changes collection and processes each tracked change.

```csharp
foreach (TrackedChange trackedChange in textControl.TrackedChanges)
{
    Console.WriteLine(trackedChange.Active);
}
```

```vbnet
For Each trackedChange As TrackedChange In textControl.TrackedChanges
    Console.WriteLine(trackedChange.Active)
Next
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [TextControl.TrackedChangeDeleted Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/trackedchangedeleted-event/llms-full.txt)
- **Next:** [TextControl.TrackedChangeStateChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/trackedchangestatechanged-event/llms-full.txt)
