# IFormattedText.TrackedChanges Property

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

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > IFormattedText.TrackedChanges Property
- **461 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/trackedchanges-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/trackedchanges-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/trackedchanges-property/llms-full.txt

---

### Description

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

### Syntax

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

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

### Examples

The following example applies bold formatting through the iformatted text's selection by using `IFormattedText.TrackedChanges`.

```csharp
Selection formattedSelection = iFormattedText.Selection;
formattedSelection.Bold = true;
iFormattedText.Selection = formattedSelection;

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

```vbnet
Dim formattedSelection As Selection = iFormattedText.Selection
formattedSelection.Bold = True
iFormattedText.Selection = formattedSelection

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [IFormattedText.TextFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/textfields-property/llms-full.txt)
- **Next:** [Image Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/image/llms-full.txt)
