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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -