UIElement.ManipulationCompleted 이벤트

정의

UIElement에 대한 조작이 완료되면 발생합니다.

public:
 virtual event ManipulationCompletedEventHandler ^ ManipulationCompleted;
// Register
event_token ManipulationCompleted(ManipulationCompletedEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, ManipulationCompletedEventHandler const& handler) const;
public event ManipulationCompletedEventHandler ManipulationCompleted;
function onManipulationCompleted(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationcompleted", onManipulationCompleted);
uIElement.removeEventListener("manipulationcompleted", onManipulationCompleted);
- or -
uIElement.onmanipulationcompleted = onManipulationCompleted;
Public Custom Event ManipulationCompleted As ManipulationCompletedEventHandler 
<uiElement ManipulationCompleted="eventhandler"/>

이벤트 유형

설명

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

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

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

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

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

Windows 8 동작

Windows 8은 관성 단계가 시작되고 ManipulationInertiaStarting 이 발생한 경우 ManipulationCompleted를 실행하지 않지만 사용자가 스크롤을 완료하기 전에 항목을 탭하여 관성 단계를 시각적으로 취소합니다. 이 문제는 Windows 8.1 부터 해결되었습니다. ManipulationCompleted는 탭 작업이 관성 단계를 취소하는 즉시 발생합니다.

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

적용 대상

추가 정보