次の方法で共有


CoreInkIndependentInputSource.PointerLost イベント

定義

InkPresenter オブジェクトに関連付けられている InkCanvas のヒット テストまたは境界領域でポインターが検出されなくなったか、またはオーバーとして発生します。

通常、接触が InkCanvas コントロールの外に移動した場合、または接触が別の要素によってキャプチャされた場合、ポインターは失われます。

// Register
event_token PointerLost(TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreInkIndependentInputSource::PointerLost_revoker PointerLost(auto_revoke_t, TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreInkIndependentInputSource,PointerEventArgs> PointerLost;
function onPointerLost(eventArgs) { /* Your code */ }
coreInkIndependentInputSource.addEventListener("pointerlost", onPointerLost);
coreInkIndependentInputSource.removeEventListener("pointerlost", onPointerLost);
- or -
coreInkIndependentInputSource.onpointerlost = onPointerLost;
Public Custom Event PointerLost As TypedEventHandler(Of CoreInkIndependentInputSource, PointerEventArgs) 

イベントの種類

適用対象

こちらもご覧ください