Compartilhar via


CoreWebView2Controller.LostFocus Event

Definition

LostFocus is raised when WebView loses focus.

public event EventHandler<object> LostFocus;
member this.LostFocus : EventHandler<obj> 
Public Custom Event LostFocus As EventHandler(Of Object) 

Event Type

Remarks

In the case where MoveFocusRequested event is raised, the focus is still on WebView when MoveFocusRequested event is raised. LostFocus is only raised afterwards when code of the app or default action of MoveFocusRequested event sets focus away from WebView.

Applies to