When we have a situation like this:
<Grid x:Name="Grid1" Tapped="Grid1_OnTapped">
<!-- ... -->
<Grid x:Name="Grid2" Tapped="Grid2_OnTapped">
<!-- ... -->
...
<Grid x:Name="Grid_n" Tapped="Grid_n_OnTapped">
<!-- ... -->
</Grid>
</Grid>
</Grid>
When the user taps on Grid_n
the Grid_n_OnTapped
event method is called, but all event methods of all parent grids is called too. So my question is, is it possible to somehow prevent that, i.e. "Grid1_OnTapped" must be called only when tap's location is in Grid1
's area and not on his child's/sub child's area.