Hi,
I try to change the Validation.ErrorTemplate of PasswordBox.
I try to change the Validation.ErrorTemplate of PasswordBox.
1.
<
Style
TargetType
=
"PasswordBox"
BasedOn
=
"{StaticResource PasswordBoxStyle}"
>
2.
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{StaticResource ErrorTemplateStyle}"
/>
3.
</
Style
>
But the two templates are displayed.
Why ?
PS : It works for other control like RadWatermarkTextBox but not for MS controls.
Best regards,
Geoffrey