Hi,
I want to represent the red border which is drawn around a text box a little bit thicker. This is determined by a style. But how?
Thank you very muuch.
The red border is part of the control template of the TextBox. You need to retemplate the TextBox and change the thickness of the ValidationErrorElement border.
For more information check this msdn article.
HTH
thank you very much for the quick reply.
I retemplated the textbox like this:
...
<Border x:Name="ValidationErrorElement" BorderThickness="5" CornerRadius="1" BorderBrush="#FFDB000C" Visibility="Collapsed">
....
and nothing changes?
I also use comboboxes, customtextboxes ... Have I retemplated them too?
Best Regards,
djumana
You can find a sample attached to this post. The sample demonstrates how to retemplate a TextBox to make the red border thicker.
Thank you very much!!
May God guide us and bless you!