.net - How to access a parent's binding? Or a better way? -


<toolkit:hubtile title="{binding appname, converter={staticresource addnewlineconvertor}}" message="{binding appdescription}" source="{binding appiconlocation}" grouptag="featuredapphubtiles" margin="0, 0, 20, 20" tap="featuredapptapped">                                 <toolkit:contextmenuservice.contextmenu>                                     <toolkit:contextmenu>                                         <toolkit:menuitem header="share" tap="sharefeaturedapptapped"/>                                     </toolkit:contextmenu>                                 </toolkit:contextmenuservice.contextmenu>                             </toolkit:hubtile> 

hi guys.

in above code i'm trying name of application in sharefeaturedapptapped event handler, of course item supplied in event arguments menuitem, doesn't have property can bind appname to.

how go getting it?

i've tried accessing parent element (the hubtile) doesn't seem appropriate.

thanks,

danny

‎((sender frameworkelement).datacont​ext myclass 

where myclass class binding


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -