TypeValidationEventHandler TypeValidationEventHandler TypeValidationEventHandler TypeValidationEventHandler Delegate

定义

表示将处理 TypeValidationCompleted 控件的 MaskedTextBox 事件的方法。Represents the method that will handle the TypeValidationCompleted event of the MaskedTextBox control.

public delegate void TypeValidationEventHandler(System::Object ^ sender, TypeValidationEventArgs ^ e);
public delegate void TypeValidationEventHandler(object sender, TypeValidationEventArgs e);
type TypeValidationEventHandler = delegate of obj * TypeValidationEventArgs -> unit
Public Delegate Sub TypeValidationEventHandler(sender As Object, e As TypeValidationEventArgs)

参数

sender
Object Object Object Object

事件源。The source of the event.

继承
TypeValidationEventHandlerTypeValidationEventHandlerTypeValidationEventHandlerTypeValidationEventHandler

注解

TypeValidationCompleted的事件MaskedTextBox类是一个可选的事件,才会引发ValidatingType属性显式设置为一种类型而不nullThe TypeValidationCompleted event of the MaskedTextBox class is an optional event that is raised only if the ValidatingType property is explicitly set to a type other than null.

通常情况下,处理程序TypeValidationCompleted实现事件来执行特定于掩码的和特定于类型的验证处理。Typically, a handler for the TypeValidationCompleted event is implemented to perform mask-specific and type-specific validation processing. 与此相反,在标准中通常执行常规的验证Validating中定义的事件Control基类。In contrast, general validation is typically performed in the standard Validating event defined in the Control base class.

扩展方法

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅