UIElement.ManipulationDelta 이벤트

정의

입력 디바이스에서 조작 중에 위치를 변경하면 발생합니다.

public:
 virtual event ManipulationDeltaEventHandler ^ ManipulationDelta;
// Register
event_token ManipulationDelta(ManipulationDeltaEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationDelta_revoker ManipulationDelta(auto_revoke_t, ManipulationDeltaEventHandler const& handler) const;
public event ManipulationDeltaEventHandler ManipulationDelta;
function onManipulationDelta(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationdelta", onManipulationDelta);
uIElement.removeEventListener("manipulationdelta", onManipulationDelta);
- or -
uIElement.onmanipulationdelta = onManipulationDelta;
Public Custom Event ManipulationDelta As ManipulationDeltaEventHandler 
<uiElement ManipulationDelta="eventhandler"/>

이벤트 유형

설명

사용자 지정 컨트롤 및 상호 작용 환경은 GestureRecognizer를 참조하세요.

요소에 조작 이벤트 원본이 되려면 None 또는 System 이외의 ManipulationMode 값이 있어야 합니다. ManipulationMode의 기본값은 기본 제공 제어 논리가 조작을 처리할 수 있지만 앱 코드가 조작 이벤트를 처리하는 것을 허용하지 않는 시스템입니다. 조작을 처리하려면 ManipulationMode모두 또는 특정 ManipulationModes 값으로 설정합니다. 자세한 내용은 ManipulationMode를 참조하세요.

ManipulationDelta는 라우트된 이벤트입니다. 이벤트가 처리되지 않아 부모 요소까지 버블링할 수 있는 경우 ManipulationMode 가 부모 요소의 None 또는 System 인 경우에도 부모 요소에서 이벤트를 처리할 수 있습니다. 라우트된 이벤트 개념에 대한 자세한 내용은 이벤트 및 라우트된 이벤트 개요를 참조하세요.

터치 동작의 경우와 터치 동작의 결과인 조작 관련 또는 조작 이벤트의 경우에도 이벤트 원본이 되거나 터치 동작과 연관된 이벤트를 실행하려면 요소의 적중 횟수 테스트가 보여야 합니다. UIElement.Visibility는표시되어야 합니다. 파생 형식의 다른 속성도 적중 테스트 표시 유형에 영향을 미칩니다. 자세한 내용은 이벤트 및 라우트된 이벤트 개요를 참조하세요.

ManipulationDelta는 이벤트에 대한 이벤트 데이터가 처리됨으로 표시된 경우에도 호출될 경로에 이벤트 처리기를 연결하는 기능을 지원 합니다. AddHandler를 참조하세요.

적용 대상

추가 정보