CoreWindow.PointerPressed 이벤트

정의

마우스 단추를 클릭하거나 디지타이저 표면이 앱의 경계 사각형 내에서 손가락이나 펜에 의해 터치되었을 때 발생합니다.

상호 작용 세션은 단일 연락처가 검색될 때 시작되고 해당 연락처와 동일한 세션의 모든 후속 연락처가 더 이상 검색되지 않을 때 종료됩니다.

이 이벤트는 상호 작용 세션에서 검색된 첫 번째 연락처에 대해 발생합니다. 다른 모든 동시 연락처 포인터에 대한 세부 정보는 PointerPointProperties 개체를 통해 노출됩니다(PointerPoint 개체에서 Properties 속성을 가져와서 얻음).

// Register
event_token PointerPressed(TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreWindow::PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,PointerEventArgs> PointerPressed;
function onPointerPressed(eventArgs) { /* Your code */ }
coreWindow.addEventListener("pointerpressed", onPointerPressed);
coreWindow.removeEventListener("pointerpressed", onPointerPressed);
- or -
coreWindow.onpointerpressed = onPointerPressed;
Public Custom Event PointerPressed As TypedEventHandler(Of CoreWindow, PointerEventArgs) Implements PointerPressed

이벤트 유형

구현

적용 대상

추가 정보