InputFocusNavigationHost.DepartFocusRequested 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
// Register
event_token DepartFocusRequested(TypedEventHandler<InputFocusNavigationHost, FocusNavigationRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void DepartFocusRequested(event_token const* cookie) const;
// Revoke with event_revoker
InputFocusNavigationHost::DepartFocusRequested_revoker DepartFocusRequested(auto_revoke_t, TypedEventHandler<InputFocusNavigationHost, FocusNavigationRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<InputFocusNavigationHost,FocusNavigationRequestEventArgs> DepartFocusRequested;
function onDepartFocusRequested(eventArgs) { /* Your code */ }
inputFocusNavigationHost.addEventListener("departfocusrequested", onDepartFocusRequested);
inputFocusNavigationHost.removeEventListener("departfocusrequested", onDepartFocusRequested);
- or -
inputFocusNavigationHost.ondepartfocusrequested = onDepartFocusRequested;
Public Custom Event DepartFocusRequested As TypedEventHandler(Of InputFocusNavigationHost, FocusNavigationRequestEventArgs)