Validation fired but Red Border does not appear with User Control in Silverlight 4
问题 I have created custom User Control which contain TextBox and PasswordBox. I bind TextBox to UserName and PassowrdBox also. The UserName is defined in my LoginViewModel class with [Required] attribute. Now my cursor is leaving from TextBox without entering any value then UserName property fire property changeed notifcation (INotifyPropertyChanged), but dose not mark my Textbox (which is inside the User Control) with Red border. Following is code of my User Control. RestrictedBox.xaml <Grid x