CoreInkIndependentInputSource.PointerReleasing 이벤트
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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)