.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).datacontext myclass where myclass class binding
Comments
Post a Comment