# Changing Validation Color in Telerik UI for WPF Controls

## Environment

<table>
	<tbody>
		<tr>
			<th scope="row">Product Version</th>
			<td>2020.3.1020</td>
		</tr>
		<tr>
			<th scope="row">Product</th>
			<td>Telerik UI for WPF</td>
		</tr>
	</tbody>
</table>

## Description

How to change the validation color used in text input controls (like RadWatermarkTextBox, etc.) from the default red to another color.

## Solution

To do this, set the `ValidationColor` property of the corresponding [palette](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-theme-palettes).

This can be done in C#:

```C#
Windows8Palette.Palette.ValidationColor = Colors.Yellow;
```

Or alternatively, in XAML:

```XAML
<Application.Resources>
    <SolidColorBrush x:Key="{x:Static telerik:Windows8ResourceKey.ValidationBrush}" Color="Purple" />
</Application.Resources>
```

This approach is applicable in newer [themes](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/themes-suite/available-themes), starting from Windows8.
