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합니다.

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

ManipulationStarted 는 라우트된 이벤트입니다. 처리되지 않으므로 이벤트가 부모 요소에 버블링되도록 허용된 경우 ManipulationModeNone 가 또는 System 부모 요소에 있더라도 부모 요소에서 이벤트를 처리할 수 있습니다. 라우트된 이벤트 개념에 대한 자세한 내용은 이벤트 및 라우트된 이벤트 개요를 참조하세요.

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

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

적용 대상

추가 정보