PropertyComparisonValidator with WPF

Topics: Validation Application Block
May 4, 2010 at 7:08 PM
Edited May 4, 2010 at 7:38 PM


Is it possible to use the PropertyComparisonValidator with the WPF integration? I want to compare two properties and use the ValidationRule of the VAB to bind the validation to a control on the Window.

If it is not possible, is there a way to do that?

Thank you

May 4, 2010 at 9:15 PM

I honestly haven't tried this but I came across this blog -  One comment there mentioned about why it won't work in WPF and a link was provided that provides  a sample on how to develop a custom propertycomparisonvalidator.

I haven't tried if this is still the case in 5.0 where WPF integration is completed.

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.