CoreInkIndependentInputSource.PointerLost イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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)