WebViewControl.MoveFocusRequested 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.
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)