Get xaml origin by klicking or selecting text in document viewer!
-
24-10-2019 - |
Pergunta
I'm trying to find the XPS xaml origin of an (text) element which is klicked or selected in a document viewer. Is this somehow possible?
Thanks!
Solução
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
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow