Skip to main content
Version: 3.5

TypeValidationEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the TypeValidationCompleted event.

public class TypeValidationEventArgs : CancelEventArgs

Constructors​

Instance memberTypeValidationEventArgs(validatingType, isValidInput, returnValue, message)​

Initializes a new instance of the TypeValidationEventArgs class.

NameTypeDescription
validatingTypeTypeThe Type that the formatted input string was being validated against.
isValidInputBooleanA Boolean value indicating whether the formatted string was successfully converted to the validating type.
returnValueObjectAn Object that is the result of the formatted string being converted to the target type.
messageStringA String containing a description of the conversion process.

Properties​

Instance memberIsValidInput​

Boolean: Returns whether the formatted input string was successfully converted to the validating type.

Instance memberMessage​

String: Returns a text message describing the conversion process.

Instance memberReturnValue​

Object: Returns the result from the conversion of the formatted input string.

Instance memberValidatingType​

Type: Returns the type that the formatted input string is being validated against.

Used By​

NameDescription
TypeValidationEventHandlerRepresents the method that will handle the TypeValidationCompleted event of the MaskedTextBox control.