I’ve built a button in Blend. Now I want to make a grid of my buttons — say 4 across and 5 high. How can I do that?
Share
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.
There are a few possibilities.
1) If your grid is always 4×5 you could use a regular grid. Something like this:
2) The Silverlight for Windows Phone Toolkit contains a WarpPanel. You can give items in the WrapPanel a width and height and they’re stacked together, like a 2D stackpanel. If the width of the wrappanel is changed, so are the amount of items on a row.