How to raise custom Validation Message in PropertyGrid?

F

fmamstr

Currently I'm using "PropertyGrid" control for my C# application. My problem
is that when I input some "alphabetic" values(e.g. abc) for a property which
only accpets “Integer†values, I get the error message below - "Property
value is not valid", in the details panel, the information is like this - "
'abc' is not a valid value for Int32".
Could I customize this error message?(e.g. showing some user-friendly
message instead of "Int32").
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top