WebViewControl.MoveFocusRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Événement qui est déclenché lorsqu’un déplacement de focus est demandé.
// 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)