I have an image editing application, and I have custom adorners which get added to an AdornerLayer. When the user clicks on an Adorner, I want to bring it to top – meaning if it is dragged over another adorner, I want the first click to be caught by the topmost adorner.
I can’t figure out how to change the z-order of the child elements of the AdornerLayer. It doesn’t seem to allow me to sort them. Even if I remove and re-add the Adorner, it doesn’t get topmost.
Please have a look on that,
http://social.msdn.microsoft.com/forums/en-us/wpf/thread/C6780661-EF6D-4141-B4CA-0C7A2461D314