다음을 통해 공유


CoreInkIndependentInputSource.PointerReleasing 이벤트

정의

PointerPressing 이벤트와 연결된 포인터가 InkPresenter 개체와 연결된 InkCanvas의 적중 테스트 또는 경계 영역 내에서 해제되거나 해제될 때 발생할 수 있습니다.

PointerReleasing은 PointerPressing과 함께 발생하도록 보장되지 않습니다. PointerLost 또는 PointerExiting 이 대신 발생할 수 있습니다. 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) 

이벤트 유형

적용 대상

추가 정보