CoreWindow.PointerExited 事件

定义

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

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

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

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

事件类型

实现

注解

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

适用于

另请参阅