VisualExtensions.

GetVisualsAt(IVisual, Point) Method

Summary

Enumerates the visible visuals in the visual tree whose bounds contain a point.
Namespace
Avalonia.VisualTree
Containing Type
VisualExtensions

Syntax

public static IEnumerable<IVisual> GetVisualsAt(this IVisual visual, Point p)

Parameters

Name Type Description
visual IVisual The root visual to test.
p Point The point.

Return Value

Type Description
IEnumerable<IVisual> The visuals at the requested point.