CoreInkIndependentInputSource.PointerReleasing イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
PointerPressing イベントに関連付けられているポインターが、InkPresenter オブジェクトに関連付けられている InkCanvas のヒット テストまたは境界領域内でリフトまたは解放されると発生する可能性があります。
PointerLost または PointerExiting が代わりに発生する可能性があるため、PointerReleasing が PointerPressing と一緒に発生することは保証されません。 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)