CoreIndependentInputSource.PointerExited 事件

定义

当指针在 UWP 应用的边界框外移动时发生。

// Register
event_token PointerExited(TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;

// Revoke with event_token
void PointerExited(event_token const* cookie) const;

// Revoke with event_revoker
CoreIndependentInputSource::PointerExited_revoker PointerExited(auto_revoke_t, TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<object,PointerEventArgs> PointerExited;
function onPointerExited(eventArgs) { /* Your code */ }
coreIndependentInputSource.addEventListener("pointerexited", onPointerExited);
coreIndependentInputSource.removeEventListener("pointerexited", onPointerExited);
- or -
coreIndependentInputSource.onpointerexited = onPointerExited;
Public Custom Event PointerExited As TypedEventHandler(Of Object, PointerEventArgs) Implements PointerExited

事件类型

实现

注解

对于触摸输入,应用在 PointerReleased 事件之前接收此事件。

适用于