I have a Custom TextBox with Control Template and and Error Template as defined below . The Data trigger on Validation.HasError is not getting Triggered and the border color is