WP7 - How can I retrieve the mini form of a Path at runtime?
I've got a databound series of predefined shapes (Path with Data="" set) which each trigger the same event when clicked. I'd like to programmatically access the mini form of the Path.Data property at runtime to be able to persist it.
In this case I could just name the elements and on click 开发者_运维百科check which one, however I'd prefer a more generic solution. There seem to be some WPF workarounds but I haven't seen any for WP7.
Does anyone know if this is possible? and if so, how to do it?
Thanks.
Looking in to if and how this may be possible I came across http://www.eightyeightpercentnerd.dreamhosters.com/?p=40 and even though it's quite old it explains how a paths data/geometry is parsed in Siverlight.
It leads me to think that you may be better off trying to find a different approach to solving your problem. :(
精彩评论