NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.AddOnValidating

Adds an event handler for the validating event. The validating event occurs when the control loses focus and a control that causes validation gains focus. This is where users can write code to validate the current values of the control.

[Visual Basic]
Overridable Public Sub AddOnValidating( _
   ByVal handler As EventHandler _
)
[C#]
public virtual void AddOnValidating(
   EventHandler handler
);
[C++]
public: virtual void AddOnValidating(
   EventHandler* handler
);
[JScript]
public function AddOnValidating(
   handler : EventHandler
);

Parameters

handler
New handler to install for this event.

See Also

Control Class | Control Members | System.WinForms Namespace | RemoveOnValidating