dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

[Enhancement] Hit Testing service for element selection #1897

Closed drasticactions closed 2 years ago

drasticactions commented 3 years ago

Summary

Given an point or rect, return an element or list of elements that are contained on or in that point. This service is necessary for being able to do element selection within features like Hot Reload or Live Preview, where a user can use an element selector to pick an object they want to know more about.

This ask is similar to https://github.com/dotnet/maui/issues/572, which requires the same functionality in order to draw adorners.

rmarinho commented 2 years ago

this was done already right @drasticactions ?

drasticactions commented 2 years ago

Yeah, that was added in https://github.com/dotnet/maui/pull/3351