PropertyGrid validation

PropertyGrid validation

How do I set up the PropertyGrid to display an error condition (like the WinForms ErrorProvider or a red highlight) when data is invalid? I currently have my model class implementing INotifyDataErrorInfo and it’s ValidateProperty method is triggered when the value is changed through the PropertyGrid. I then use the Validator class to check if the value is valid (in this case, not empty) and I set my errors. How do I get the PropertyGrid to respond to the invalid value? Is there a binding that I need to add? Do I need to use some other validation scheme entirely?