for example, when I click the button, the grid event also fires. How can i avoid this?
<Grid Tap="Grid_Tap"> <Button Click="btn_Click" /> </Grid>
set e.Handled = true; in the button handler
void Button_Click_1(object sender, RoutedEventArgs e) { //Handler code here e.Handled = true; }
Handled