tags:

views:

27

answers:

1

i am working on a silver light application . i have a canvas in the page,i want to show the canvas above all the other controls or want to bring all the canvas to the front of the page.how can that be done

A: 

You can remove it from your main containing control (usually a grid - LayoutRoot) and add it back at the end to ensure it's above all other controls.

LayoutRoot.Children.Remove(myCanvas);
LayoutRoot.Children.Add(myCanvas); 

Or you can use the insert method to add it at the desired index.

Ritik Khatwani