Skip to main content
Version: 4.1

TypeValidationEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the TypeValidationCompleted event.

public class TypeValidationEventArgs : CancelEventArgs

Constructors

Instance member TypeValidationEventArgs(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 member IsValidInput

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

Instance member Message

String: Returns a text message describing the conversion process.

Instance member ReturnValue

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

Instance member ValidatingType

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.