xaml - scale transform element outside user control ?
Posted on 2009-02-16
I have a page with two user controls. These need to remain user controls.. I'll call the user control on the "Left" the "Left" user control haha.. and the rgiht one the right one...
The Left user control is a navigation user control and what i want is to be able to have an element overlap the right user control for a particular selected item.
I have done this with a bound listbox - and textblocks for the items, inside a grid with a polygon behind the textbox to colour it and draw a shape of an arrow. What I want is to be able to show the arrow head on top of the right user control for the selected one. (All data triggers etc work fine, its just that it won't show on top of the other control when I do a Scale Transform on the polygon.
When I use Snoop.. it shows that the polygon has stretched across, but I am thinking because the way I did it - the arrow isn't stretching across.
I've also tried zIndex and hasn't worked for me. If someone has some sample code I'd love to see.