Share via


WebView2.TabIntoCore(TraversalRequest) Method

Definition

This is overridden from HwndHost and is called to inform us that tabbing has caused the focus to move into our control/window. Since WPF can't manage the transition of focus to a non-WPF HWND, it delegates the transition to us here. So our job is just to place the focus in our external HWND.

protected override bool TabIntoCore (System.Windows.Input.TraversalRequest request);
override this.TabIntoCore : System.Windows.Input.TraversalRequest -> bool
Protected Overrides Function TabIntoCore (request As TraversalRequest) As Boolean

Parameters

request
TraversalRequest

Information about how the focus is moving.

Returns

true to indicate that we handled the navigation, or false to indicate that we didn't.

Applies to