Hello.
I have form with mandatory fields in WPF application and code that makes tests based on Telerik Testing Framework. When my controls (TextBoxes in this case) are in error state they are outlined with red border (as it is shown in the attached file). Windows control TextBox has properties Validation.HasError and Validation.Errors (collection). Visibility of red border depends on them. But wrappers such as ArtOfTest.WebAii.Silverlight.UI.TextBox does not expose access to Validation. I tried to get access to the red border that is actually made by AdornerDecorator through the VisualTree. But ArtOfTest.WebAii.Controls.Xaml.Wpf.AdornedElementPlaceholder does not have AdornedElement property that exists in the wrapped AdornedElementPlaceholder and allows to connect certain Adorner with the TextBox element it is created for.
Is there any approach how I can check in code fields validation state ?