InputExtensions.

InputHitTest(IInputElement, Point) Method

Summary

Returns the topmost active input element at a point on an IInputElement.
Namespace
Avalonia.Input
Containing Type
InputExtensions

Syntax

public static IInputElement? InputHitTest(this IInputElement element, Point p)

Parameters

Name Type Description
element IInputElement The element to test.
p Point The point on element.

Return Value

Type Description
IInputElement? The topmost IInputElement at the specified position.