TypeValidationEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides data for the TypeValidationCompleted event.
- C#
- VB.NET
public class TypeValidationEventArgs : CancelEventArgs
Public Class TypeValidationEventArgs
Inherits CancelEventArgs
Constructors
TypeValidationEventArgs(validatingType, isValidInput, returnValue, message)
Initializes a new instance of the TypeValidationEventArgs class.
| Name | Type | Description |
|---|---|---|
| validatingType | Type | The Type that the formatted input string was being validated against. |
| isValidInput | Boolean | A Boolean value indicating whether the formatted string was successfully converted to the validating type. |
| returnValue | Object | An Object that is the result of the formatted string being converted to the target type. |
| message | String | A String containing a description of the conversion process. |
Properties
IsValidInput
Boolean: Returns whether the formatted input string was successfully converted to the validating type.
Value: true if the formatted input string can be converted into the type specified by the ValidatingType property; otherwise, false.
Message
String: Returns a text message describing the conversion process.
Value: A String containing a description of the conversion process.
ReturnValue
Object: Returns the result from the conversion of the formatted input string.
Value: If the validation is successful, an Object that represents the converted type; otherwise, null.
ValidatingType
Type: Returns the type that the formatted input string is being validated against.
Value: The target Type of the conversion process.
Used By
| Name | Description |
|---|---|
| TypeValidationEventHandler | Represents the method that will handle the TypeValidationCompleted event of the MaskedTextBox control. |