Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Applies to Silverlight 4 and 5
Validation of your data is a requirement for almost every application in order to make sure that no invalid input is possible. If you're using a DataGrid, then you can easily implement validation by using data annotations on your classes or properties. This control picks up these validation rules automatically and even provides visual feedback. In this recipe, you'll learn how to get your DataGrid to implement this kind of validation.