# TrackedChange.DefaultHighlightColor Property

> Gets the default highlight color of a tracked change. This color is used for changes made through the current user. The current user is the first string set with the TextControl.UserNames property. This color is also used for changes made through an unknown user.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl > TrackedChange.DefaultHighlightColor Property
- **446 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchange/defaulthighlightcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchange/defaulthighlightcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchange/defaulthighlightcolor-property/llms-full.txt

---

### Description

Gets the default highlight color of a tracked change. This color is used for changes made through the current user. The current user is the first string set with the [TextControl.UserNames](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/usernames-property/llms-full.txt) property. This color is also used for changes made through an unknown user.

### Syntax

```csharp
public static Color DefaultHighlightColor { get; }
```

```vbnet
Public Shared ReadOnly Property DefaultHighlightColor As Color
```

### Examples

The following example applies the default revision color to the current tracked change.

```csharp
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
trackedChange.HighlightColor = TrackedChange.DefaultHighlightColor;
```

```vbnet
Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
    Return
End If
trackedChange.HighlightColor = TrackedChange.DefaultHighlightColor
```

---

## Nearby

- **Previous:** [TrackedChange.ChangeTime Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchange/changetime-property/llms-full.txt)
- **Next:** [TrackedChange.HighlightColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/trackedchange/highlightcolor-property/llms-full.txt)
