c# - How to put button inside grid that can be tapped in Windows 8.1 app? -


i'm developing app windows 8.1. have grid can tapped, , want put button inside grid provide finer function. should when click button, event inside grid not triggered. code structure this

<grid tapped = "ongridtapped" background = "transparent">     <button tapped = "onbuttontapped"/> </grid> 

i cannot have access bringtofront() or zindex problem.

inside onbuttontapped(object sender, tappedroutedeventargs e) add e.handled = true stop tap event bubble grid solve problem


Comments

Popular posts from this blog

php - mysql multiple keyword search in any order -

routing - AngularJS State management ->load multiple states in one page -

unity3d - Problems porting a GLSL shadertoy shader to unity -