Actualización: noviembre 2007
Representa el método que va a controlar el evento TypeValidationCompleted del control MaskedTextBox.
Ensamblado: System.Windows.Forms (en System.Windows.Forms.dll)
Public Delegate Sub TypeValidationEventHandler ( _ sender As Object, _ e As TypeValidationEventArgs _ )
Dim instance As New TypeValidationEventHandler(AddressOf HandlerMethod)
public delegate void TypeValidationEventHandler( Object sender, TypeValidationEventArgs e )
public delegate void TypeValidationEventHandler( Object^ sender, TypeValidationEventArgs^ e )
/** @delegate */ public delegate void TypeValidationEventHandler( Object sender, TypeValidationEventArgs e )
JScript no admite delegados.
Parámetros
- sender
- Tipo: System.Object
Origen del evento.
- e
- Tipo: System.Windows.Forms.TypeValidationEventArgs
TypeValidationEventArgs que contiene los datos del evento.
El evento TypeValidationCompleted de la clase MaskedTextBox es un evento opcional que se provoca sólo cuando se establece explícitamente la propiedad ValidatingType en un tipo distinto de null.
Normalmente, un controlador para el evento TypeValidationCompleted se implementa para llevar a cabo el procesamiento de validación específica de máscara y específica de tipo. Por el contrario, la validación general se realiza normalmente en el evento Validating estándar que define la clase base Control.
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.