Summary
Gets the first visual in the visual tree whose bounds contain a point.
- Namespace
- Avalonia
.VisualTree - Containing Type
- VisualExtensions
Syntax
public static IVisual GetVisualAt(this IVisual visual, Point p, Func<IVisual, bool> filter)
Parameters
Return Value
Type | Description |
---|---|
IVisual | The visual at the requested point. |