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.AddOnLeave

Adds an event handler for the leave event. The leave event occurs when focus leaves this control. This doesn't imply that this control lost focus, but rather that focus has been moved out of this control and any child controls.

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

Parameters

handler
New handler to install for this event.

See Also

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