CoreWindow.PointerRoutedAway Event
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
CoreWindow::PointerRoutedAway_revoker PointerRoutedAway(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedAway;
function onPointerRoutedAway(eventArgs) { /* Your code */ }
coreWindow.addEventListener("pointerroutedaway", onPointerRoutedAway);
coreWindow.removeEventListener("pointerroutedaway", onPointerRoutedAway);
- or -
coreWindow.onpointerroutedaway = onPointerRoutedAway;
Public Custom Event PointerRoutedAway As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs) Implements PointerRoutedAway
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Product | Versions |
---|---|
WinRT | Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |