UIElement.ManipulationStarting 이벤트

정의

조작 프로세서가 처음으로 만들어지면 발생합니다.

public:
 virtual event ManipulationStartingEventHandler ^ ManipulationStarting;
// Register
event_token ManipulationStarting(ManipulationStartingEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationStarting_revoker ManipulationStarting(auto_revoke_t, ManipulationStartingEventHandler const& handler) const;
public event ManipulationStartingEventHandler ManipulationStarting;
function onManipulationStarting(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationstarting", onManipulationStarting);
uIElement.removeEventListener("manipulationstarting", onManipulationStarting);
- or -
uIElement.onmanipulationstarting = onManipulationStarting;
Public Custom Event ManipulationStarting As ManipulationStartingEventHandler 
<uiElement ManipulationStarting="eventhandler"/>

이벤트 유형

설명

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

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

ManipulationStarting은 기본적으로 포인터가 요소가 조작을 가능하게 하는 요소와 상호 작용할 때마다 발생합니다. 여기에는 조작이 제스처로 해석되고 포인터가 이동하지 않는 경우(예: 또는 유지 제스처)가 포함됩니다. 포인터가 이동하면 ManipulationStarted는 일반적으로 이후에 발생합니다.

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

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

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

Windows 8 동작

짧은 시간 동안 여러 제스처가 발생한 경우 Windows 8에서 이 이벤트를 실행하는 데 문제가 있었습니다. 예를 들어 Windows 8은 첫 번째 제스처에 대해서만 ManipulationStarting을 발생시키고 두 번째 제스처는 실행하지 않을 수 있습니다. 이 문제는 Windows 8.1 시작하여 해결되었습니다. 입력 시스템에서 처리되는 여러 시작 제스처는 각각 고유한 ManipulationStarting 이벤트를 발생합니다.

Windows 8용으로 컴파일되었지만 Windows 8.1에서 실행하는 앱은 Windows 8 동작을 계속 사용합니다.

적용 대상

추가 정보