Isn’t there a trick that may help me show a component inside a grid by using X,Y coordinates ?
Thanks in advance
Miloud Bel.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can place a canvas inside a grid and then set controls inside the canvas with x,y coordinates.
This however, although doable, is not a good way for control layout.
I would recommend creating rows and columns for the grid, and placing the controls inside the grid cells by assigning a grid row and grid column to the control.
Usualy one grid is enough per page, which is the layout grid available by default, you just have to add rows and columns according to your needs.
If you have a very simple layout, you can just use a stack panel.
Here is an overview of the 3 (canvas, stack panel, grid): http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-2-using-layout-management.aspx