Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stack order of images (z-index equvalent)

This is probably a fairly basic question but I haven't managed to find anything on either here or Google. Any help is appreciated.

Is there a property that determines the stack order of objects (images rectangles ect) in a windows phone 7 application. I am adding some from the code behind and some from the xaml. What I'm basically looking for is the z-index property but that doesn't seem to exist.

like image 851
Tom Squires Avatar asked Mar 29 '11 14:03

Tom Squires


1 Answers

If you have the objects in a Canvas, you can use the Canvas.ZIndex property to set the stack order.

like image 200
Roy Avatar answered Sep 27 '22 19:09

Roy