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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -