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?