WPF integration for validation application block
You can now download the code for the WPF intergration for the validation application block of Enterprise Library 3.0.
Please refer to my previous post for an explanation of what this integration does. The zip archive you can download contains two projects:
The Validation.Integration.WPF project contains the two classes EnterpriseValidationRule and ErrorProvider that you can use in your own projects (under BSD license).
The WPFValidation project can be compiled together with the validation quickstart from the Enterprise Library 3.0. It is the same quickstart sample rewritten for the WPF integration.
I would like to thank Tom Hollander from Microsoft Patterns and Practices for his encouragement to publish this code.
Let me know if you have any questions or feedback.
Update: I have published an update and answered some questions here.
Labels: .NET
4 Comments:
Hi,
I read your post about WPF validation and I try to use it... I have a simple question:
is it possibile to include validators on configuration file instead of tagging the entities with attributes?
Thanks
Hi,
I read your post about WPF validation and I try to use it... I have a simple question:
is it possibile to include validators on configuration file instead of tagging the entities with attributes?
Thanks
Hi
I have a question regarding localizing the validation messages:
How do we localize the validation messages, if we use validators in configuration file
Thanks
Hi Martin,
I'm using VS 2008 SP1 and use StringFormat in Binding for formatting the number value
(#,0.##), unfortunately i've got an exception?
and Another problem with PropertyComparison validator
Regards,
Arash
Post a Comment
<< Home