I just searched the Internet for about 2 hours and found nothing.
Given the following scenario:
public class Person
{
[Required]
public string Name { get; set; }
}
XAML:
<TextBox Text="{Binding Name, Mode=TwoWay}" />
How could you automatically get validation feedback in the user interface, like in MVC3?
(Oh, and I really don't care if I can use integrated DataAnnotations, such as [Required] or not)
Any help is much appreciated!
Shion source
share