c# - Get all textblock's property value on click wp8 -
quick question,
(im using visual studio 2012/ windows phone 8 application)
how can properties of textblock on tap event? have tap event :
void item_tap(object sender, system.windows.input.gestureeventargs e) { var control = (sender textblock); messagebox.show(control.text + ", tapped!", "happyness", messageboxbutton.ok); }
i of properties, ones want dont get, see textblock's "grid.row" property? possible?
ah found it! hopes other people aswell, did :
var myrow = control.getvalue(grid.rowproperty);
and result = 1;
have one!
Comments
Post a Comment