Partager via


CoreWebView2MoveFocusRequestedEventArgs Class

Event args for the CoreWebView2Controller.MoveFocusRequested event.

Summary

Members Description
Handled Indicates whether the event has been handled by the app.
Reason Gets the reason for WebView to raise the CoreWebView2Controller.MoveFocusRequested event.

Properties

Handled

bool Handled

Indicates whether the event has been handled by the app. If the app has moved the focus to another desired location, it should set Handled property to true. When Handled property is false after the event handler returns, default action is taken. The default action is to try to find the next tab stop child window in the app and try to move focus to that window. If no other window exists to move focus, focus is cycled within the web content of the WebView.

Reason

readonly CoreWebView2MoveFocusReason Reason

Gets the reason for WebView to raise the CoreWebView2Controller.MoveFocusRequested event.

Referenced by