![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | z-order of adorners? Hi, I am making an adorner class that I can use to manipulate (move, resize) objects on a canvas. Each object gets an adorner and added to the canvas AdornerLayer. Additionally they are all drawn overtop with a transparent rectangle so that the adorner receives the mouse input. This works great to select the elements. When object overlap each other their adorners overlap the elements but they also overlap each other. This means that if I try to click on the adorner of an element that is behind another adorner then only the foreground adorner receives the mouse input. Of course this should be expected behaviour but unfortunately I can't choose to place one adorner on top of the other (say if an element is "selected"). I have noticed that there is a Z-Index property for panels but I don't seem to be able to find one for the AdornerLayer. Could someone please suggest how I would go about reordering the adorner layer? Cheers, Clint |
My System Specs![]() |
| | #2 (permalink) |
| | Hi I'm trying to do the same thing as you (manipulating UIElements on a canvas : Drag'nDrop (to move), resize , rotate, scale, ...etc) Would you like please to help me (can you send me your exmples) Thnx a lot EggHeadCafe - .NET Developer Portal of Choice http://www.eggheadcafe.com |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| {Pre Order Win 7?? | Vista General | |||
| Do I have everything in order? | General Discussion | |||
| Order 64 bit DVD? | Vista General | |||
| How Do I Order the DVD? | Vista General | |||