Class CoreWebView2MoveFocusRequestedEventArgs
Event args for the MoveFocusRequested event.
public class CoreWebView2MoveFocusRequestedEventArgs : EventArgs
- Inheritance
-
CoreWebView2MoveFocusRequestedEventArgs
- Inherited Members
Properties
Handled
Indicates whether the event has been handled by the app.
public bool Handled { get; set; }
Property Value
Remarks
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
Gets the reason for WebView to raise the MoveFocusRequested event.
public CoreWebView2MoveFocusReason Reason { get; }