WPF doesn't support DataAnnotations and IValidatableObject out of the box.
This project fills this gap via adapters to the IDataErrorInfo interface which is supported by the WPF validation infrastructure.
Your code becomes more DRY since DataAnnotations are supported by major MS technologies such as Entity Framework and ASP.NET MVC.
At the top it defines a small internal DSL for defining validation rules that span multiple members (such as DateRange) that make those rules a no brainer.
The project is not yet fully completed. Currently there is no flexibility to pass-through only some of the rules in a specific view or to change the error messages from a view.
Feel free to participate and improve this project.
Follow WPF Entity Validation Utils
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of WPF Entity Validation Utils!