Get xaml origin by klicking or selecting text in document viewer!
I'm trying to find the XPS xaml 开发者_JS百科origin of an (text) element which is klicked or selected in a document viewer. Is this somehow possible?
Thanks!
Finally I have the anwser: and it's really easy too, suscribe to the mouse move or some mouse event, and cast the original source to either: glyph, canvas or path! That's it folks
精彩评论