PointerEventArgs.CurrentPoint property

Applies to Windows and Windows Phone

Gets the pointer data of the last pointer event.

Syntax


public PointerPoint CurrentPoint { get; }

Property value

Type: PointerPoint

Information about the state and screen position of the pointer.

Remarks

CurrentPoint corresponds to the last point retrieved by GetIntermediatePoints.


void MyCoreWindowEvents::GetPointerInfo(
    _In_ PointerEventArgs^ args
    )
{
    Windows::UI::Input::PointerPoint^ currentPoint = args->CurrentPoint;
    
		  // save or print currentPoint 
    
}

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

See also

PointerEventArgs

 

 

Show:
© 2015 Microsoft