The event handler receives an argument of type TypeValidationEventArgs containing data related to this event. The following TypeValidationEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. |
IsValidInput | Gets a value indicating whether the formatted input string was successfully converted to the validating type. |
Message | Gets a text message describing the conversion process. |
ReturnValue | Gets the object that results from the conversion of the formatted input string. |
ValidatingType | Gets the type that the formatted input string is being validated against. |