次の方法で共有


CoreInkIndependentInputSource.PointerReleasing イベント

定義

PointerPressing イベントに関連付けられているポインターが、InkPresenter オブジェクトに関連付けられている InkCanvas のヒット テストまたは境界領域内でリフトまたは解放されると発生する可能性があります。

PointerLost または PointerExiting が代わりに発生する可能性があるため、PointerReleasingPointerPressing と一緒に発生することは保証されません。 PointerPressing を終了できるすべてのイベントを処理する必要があります。

PointerReleasing が発生しない理由には、次のようなものがあります。

  • 特定のハードウェアが入力を処理する方法の違い
  • 別のポインターからのプログラム ポインター キャプチャ
  • 解像度やモニターの設定の変更など、表示領域の関係を変更するユーザー アクション
  • 前のタッチ アクションと同じサーフェスに触れるスタイラスなどの入力操作
// Register
event_token PointerReleasing(TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;

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

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

イベントの種類

適用対象

こちらもご覧ください