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.

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Libraries

Follow WPF Entity Validation Utils

WPF Entity Validation Utils Web Site

Other Useful Business Software
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WPF Entity Validation Utils!

Additional Project Details

Intended Audience

Developers

Programming Language

C#

Related Categories

C# Frameworks, C# Libraries

Registered

2013-02-17