ICorePointerRedirector.PointerRoutedAway 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.
Occurs on the input object receiving pointer input when the pointer is redirected to another input object (possibly in a separate process).
// Register
event_token PointerRoutedAway(TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
// Revoke with event_token
void PointerRoutedAway(event_token const* cookie) const;
// Revoke with event_revoker
ICorePointerRedirector::PointerRoutedAway_revoker PointerRoutedAway(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedAway;
function onPointerRoutedAway(eventArgs) { /* Your code */ }
iCorePointerRedirector.addEventListener("pointerroutedaway", onPointerRoutedAway);
iCorePointerRedirector.removeEventListener("pointerroutedaway", onPointerRoutedAway);
- or -
iCorePointerRedirector.onpointerroutedaway = onPointerRoutedAway;
Event PointerRoutedAway As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs)
Event Type
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för