Layering with ZIndex in Silverlight

You can promote any element to a higher level by increasing its ZIndex. That’s because higher ZIndex elements always appear over lower ZIndex elements.

<Button Canvas. Left=" 60" Canvas.Top="80" Canvas.ZIndex="1" Width="50" Height="50" 
 Content="(60,80) "></Button> 
<Button Canvas. Left=" 70" Canvas.Top="120" Width="100" Height="50" 
 Content="(70,120)" </Button>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.