Method SetPropertyValidator
SetPropertyValidator(IPropertyGridItem, IValueValidator)
Sets validator of a property.
public virtual void SetPropertyValidator(IPropertyGridItem prop, IValueValidator validator)
Parameters
prop
IPropertyGridItemProperty item.
validator
IValueValidatorValue validator.