Skip to main content

GetCurrentPoint Method

Returns the PointerPoint associated with the current event

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public PointerPoint GetCurrentPoint(
Visual? relativeTo
)

Parameters​

  Visual
The visual whose coordinate system to use. Pass null for toplevel coordinate system

Return Value​

PointerPoint

See Also​

Reference​

PointerEventArgs Class
Avalonia.Input Namespace