UIElement.ManipulationStarted 이벤트

정의

입력 디바이스가 UIElement에 대한 조작을 시작할 때 발생합니다.

// Register
event_token ManipulationStarted(ManipulationStartedEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, ManipulationStartedEventHandler const& handler) const;
public event ManipulationStartedEventHandler ManipulationStarted;
function onManipulationStarted(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationstarted", onManipulationStarted);
uIElement.removeEventListener("manipulationstarted", onManipulationStarted);
- or -
uIElement.onmanipulationstarted = onManipulationStarted;
Public Custom Event ManipulationStarted As ManipulationStartedEventHandler 
<uiElement ManipulationStarted="eventhandler"/>

이벤트 유형

설명

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

ManipulationStarted는 조작 인식 논리가 포인터 이동을 감지했음을 나타냅니다. 이 경우 ManipulationStarting 이후에 발생하지만 ManipulationDelta 또는 ManipulationInertiaStarting과 같은 다른 이벤트 이전에 일반적인 시퀀스에서 실행하는 두 번째 조작 이벤트입니다.

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

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

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

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

적용 대상

추가 정보