System.Windows.Forms.HtmlElement.GotFocus Event

Occurs when the element has received user input focus.

Syntax

public event HtmlElementEventHandler GotFocus

Remarks

You can neither cancel this event's default behavior, nor prevent it from bubbling. To remove focus from an element, call HtmlElement.Focus on a different element from within the HtmlElement.GotFocus event.

For more information about the difference between canceling event bubbling and canceling the default action on an event, see tp://msdn.microsoft.com/en-us/library/ms533022.aspx.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0