Megosztás a következőn keresztül:


PointerPoint.RawPosition Property

Definition

Gets the client coordinates of the input pointer as reported by the input device.

public:
 property Point RawPosition { Point get(); };
Point RawPosition();
public Point RawPosition { get; }
var point = pointerPoint.rawPosition;
Public ReadOnly Property RawPosition As Point

Property Value

The client coordinates, in device-independent pixels (DIP).

Remarks

Under some circumstances, such as touch targeting near a UIElement, this data might be modified by the system.

If your app supports complex inking, where accuracy and performance is critical, we recommend using the RawPosition data to handle input prediction when managing hardware or message latency due to delays in sensing and processing of the pointer location on the digitizer.

See Position for more information on handling modified input data.

Applies to

See also