i,
In the attached sample, how do I make sure the selected pushpin is always on top?
I don't want to remove the selected item and add it again to make sure it's last added and on top, that makes it slow, since we have to find the correct object in the list and remove it/add it…
Ideally , I'm looking to adjust the PushpinTemplate accordingly based on the existing DataContext.IsSelected property and set something like zIndex.
Is this possible?
Feel free to update the attached project.
Thanks