New to Telerik UI for WPF? Download free 30-day trial


When the control has validation errors, the border around the control will turn red and a little element will appear in the upper right corner of the control. When you hover over the element you can read the validation message. By default, the validation error tooltip message will appear only when the mouse is over this element.

WPF RadWatermarkTextBox Validation Error Template Helper

To make the validation message appears when the control is focused, you can set the ValidationErrorTemplateHelper.ShowWhenFocused attached property to true. Its default value is false.

Example 1: Show Validation Message on Focus

<telerik:RadWatermarkTextBox telerik:ValidationErrorTemplateHelper.ShowWhenFocused="True" /> 

See also

In this article