Share via


WebViewControl.MoveFocusRequested Event

Definition

An event that is triggered when a focus move is requested.

// Register
event_token MoveFocusRequested(TypedEventHandler<WebViewControl, WebViewControlMoveFocusRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void MoveFocusRequested(event_token const* cookie) const;

// Revoke with event_revoker
WebViewControl::MoveFocusRequested_revoker MoveFocusRequested(auto_revoke_t, TypedEventHandler<WebViewControl, WebViewControlMoveFocusRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<WebViewControl,WebViewControlMoveFocusRequestedEventArgs> MoveFocusRequested;
function onMoveFocusRequested(eventArgs) { /* Your code */ }
webViewControl.addEventListener("movefocusrequested", onMoveFocusRequested);
webViewControl.removeEventListener("movefocusrequested", onMoveFocusRequested);
- or -
webViewControl.onmovefocusrequested = onMoveFocusRequested;
Public Custom Event MoveFocusRequested As TypedEventHandler(Of WebViewControl, WebViewControlMoveFocusRequestedEventArgs) 

Event Type

Applies to