다음을 통해 공유


CoreWindow.TouchHitTesting 이벤트

정의

터치 접촉 영역이 터치 적중 테스트를 위해 등록된 창의 경계 사각형(또는 다각형)과 교차할 때 발생합니다.

// Register
event_token TouchHitTesting(TypedEventHandler<CoreWindow, TouchHitTestingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreWindow::TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, TypedEventHandler<CoreWindow, TouchHitTestingEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,TouchHitTestingEventArgs> TouchHitTesting;
function onTouchHitTesting(eventArgs) { /* Your code */ }
coreWindow.addEventListener("touchhittesting", onTouchHitTesting);
coreWindow.removeEventListener("touchhittesting", onTouchHitTesting);
- or -
coreWindow.ontouchhittesting = onTouchHitTesting;
Public Custom Event TouchHitTesting As TypedEventHandler(Of CoreWindow, TouchHitTestingEventArgs) Implements TouchHitTesting

이벤트 유형

구현

적용 대상