CoreWebView2Controller.LostFocus Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.