Skip to content

UIElement.HitTest method

Performs hit testing to find the element at the specified point.

public UIElement? HitTest(Point point)
parameter description
point The point in window coordinates, the space of Bounds.

The element at the point, or null.