WebViewControl.MoveFocusRequested 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求焦点移动时触发的事件。
// 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)