We can set different validation of a same datatype of properties in PropertyGrid by comparing Name property of PropertyInfo class.
The following example will provide a better idea about it. In this example integer datatype is set using CustomEditor. The validation for integer is made for the field “Age” and “Year”.
The output for the above code is shown below:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.