WPF Integration

The ValidationAspects latest release/source provides examples on how to integrate with WPF for both State and Interception Validation. The State Validation example is dependant on PostSharp as it uses an aspect to implement IDataErrorInfo, however you can implement the content of the aspect into your own code so that you are not dependant on PostSharp - ValidationAspects State Validation does not require an aspect framework.

Please see the post at http://thetreeknowseverything.net/2009/01/21/domain-model-validation-and-wpf/ for documentation.

Last edited Feb 3, 2009 at 7:41 PM by mikesaunders, version 7

Comments

mikesaunders Dec 15, 2009 at 4:53 PM 
I haven't as yet tested VA on VS2010 or .net 4.0. I'd really like to test out the betas but I just don't have the time right now - sorry I can't be of any assistance.

AlexMarshall Dec 15, 2009 at 3:21 PM 
Has ValidationAspects been tested with Visual Studio 2010 and .NET 4 ? I haven't been able to get the demo samples to run (properly) in that environment. I can compile and run them, but no validation appears to be taking place.