![Avatar](https://secure.gravatar.com/avatar/aec961e118e217d534e53a0e8915881b.jpg?s=64&d=identicon&r=g)
The Actipro Property Grid examples make use of error validation, however the QuickStart.DataValidation example relies on annotation to create the PropertyGridPropertyItems and is more complex than what I need for my project.
I have a PropertyGrid that is databound to one of my classes which implements IDataErrorInfo, and when databound to a normal WPF element (such as a textbox), validates correctly (displaying the default red box and my custom tooltip). However, I am not able to reproduce this behavior using PropertyGrid and PropertyGridItem. It seems that it is attempting to validate, but no visual decoration occurs. How does one do this?
I have a PropertyGrid that is databound to one of my classes which implements IDataErrorInfo, and when databound to a normal WPF element (such as a textbox), validates correctly (displaying the default red box and my custom tooltip). However, I am not able to reproduce this behavior using PropertyGrid and PropertyGridItem. It seems that it is attempting to validate, but no visual decoration occurs. How does one do this?