PointerEventArgs.CurrentPoint 속성

정의

마지막 포인터 이벤트의 포인터 데이터를 가져옵니다.

public:
 property PointerPoint ^ CurrentPoint { PointerPoint ^ get(); };
PointerPoint CurrentPoint();
public PointerPoint CurrentPoint { get; }
var pointerPoint = pointerEventArgs.currentPoint;
Public ReadOnly Property CurrentPoint As PointerPoint

속성 값

포인터의 상태 및 화면 위치에 대한 정보입니다.

예제

void OnPointerPressed(Windows::UI::Core::CoreWindow const& /* sender */, Windows::UI::Core::PointerEventArgs const& args)
{
    Windows::UI::Input::PointerPoint currentPoint{ args.CurrentPoint() };
}
void MyCoreWindowEvents::GetPointerInfo(
    _In_ PointerEventArgs^ args)
{
    Windows::UI::Input::PointerPoint^ currentPoint = args->CurrentPoint;
}

설명

CurrentPoint는 GetIntermediatePoints에서 검색한 마지막 지점에 해당합니다.

적용 대상