UIElement.CancelDirectManipulations 메서드

정의

현재 UIElement가 포함된 ScrollViewer 부모에서 진행 중인 직접 조작 처리(시스템 정의 이동/확대/축소)를 취소합니다.

public:
 virtual bool CancelDirectManipulations() = CancelDirectManipulations;
bool CancelDirectManipulations();
public bool CancelDirectManipulations();
function cancelDirectManipulations()
Public Function CancelDirectManipulations () As Boolean

반환

Boolean

bool

ScrollViewer 부모가 있고 값을 설정하면 이동/확대/축소 작업이 취소됩니다. 메서드를 호출하면 작업이 수행되지 않는 경우 false입니다.

설명

대상 UIElement 가 하위 수준 포인터 이벤트(PointerPressed, PointerMoved 등)를 통해 진행 중인 조작을 처리할 수 있도록 하려면 이 메서드를 호출할 수 있습니다. 기본적으로 대상 UIElementScrollViewer에 포함된 경우 ScrollViewer 부모는 시스템 수준에서 직접 번역 조작을 처리하여 이동 또는 확대/축소로 처리합니다. ScrollViewer 부모에 의한 조작 처리는 포함된 UIElement가 포인터 이벤트를 수신하지 못하도록 방지합니다(처리됨으로 표시됨). CancelDirectManipulations를 호출하여 진행 중인 조작에 대해 이 기본 동작을 재정의한 다음 개별 UIElement 대상에 대한 비시스템 수준에서 조작을 처리할 수 있습니다.

적용 대상

추가 정보