How to get the String from existing vertex

Aug 23, 2013 at 2:32 PM
Edited Aug 23, 2013 at 7:04 PM
Hi all!
I want to set a class to listen the click event on vertex,and record the string (for example the id) of that vertex.(The difficult part for me is to get the strings).
I am not sure is the TouchEventArgs Class relevant or not.If it is so,how can I imply it?
Can anyone help me? Or kindly give me some samples?
Aug 23, 2013 at 4:36 PM
Hi, that depends on the actual implementation. If you catch MouseDown event on VertexControl object then you can get VertexControl.Vertex property to get vertex data object associated with this visual.

Also let me advice you to check library there you can easily get what you want.