Compartir a través de


CoreIndependentInputSource.PointerRoutedAway Evento

Definición

Se produce en el objeto de entrada que recibe la entrada del puntero cuando el puntero se redirige a otro objeto de entrada (posiblemente en un proceso independiente).

// 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
CoreIndependentInputSource::PointerRoutedAway_revoker PointerRoutedAway(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedAway;
function onPointerRoutedAway(eventArgs) { /* Your code */ }
coreIndependentInputSource.addEventListener("pointerroutedaway", onPointerRoutedAway);
coreIndependentInputSource.removeEventListener("pointerroutedaway", onPointerRoutedAway);
- or -
coreIndependentInputSource.onpointerroutedaway = onPointerRoutedAway;
Public Custom Event PointerRoutedAway As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs) Implements PointerRoutedAway

Tipo de evento

Implementaciones

Requisitos de Windows

Familia de dispositivos
Windows 11 (se introdujo en la versión 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v14.0)

Se aplica a