共用方式為


CoreIndependentInputSource.PointerExited 事件

定義

發生于指標在 UWP app 周框方塊外移動時。

// 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 事件之前收到此事件。

適用於