Hi Stephen,
You should take a look at the Silverlight Toolkit. They offer a WrapPanel that should do what you want. http://www.codeplex.com/Silverlight Perry From: [email protected] [mailto:[email protected]] On Behalf Of Stephen Price Sent: Tuesday, January 13, 2009 9:28 AM To: [email protected] Subject: Re: Layout controls Silverlight/XAML? When did they introduce div tags in Xaml? :) I actually like the Grid in silverlight. Your talking about asp.net right? (God I hope so) On Tue, Jan 13, 2009 at 11:12 PM, Corneliu I. Tusnea <[email protected]> wrote: You should try to use UL/LI's with a div in the LI and have the LI as display:inline; You can use a repeater to achieve this quite nicely. Avoid the grid like the plague. Corneliu. From: [email protected] [mailto:[email protected]] On Behalf Of Stephen Price Sent: Wednesday, 14 January 2009 1:10 AM To: [email protected] Subject: Layout controls Hey all, I want to dynamically add some controls (might be images or buttons, not sure yet) to a layout panel so that it dynamically wraps them as you resize the browser window. I seem to recall that the Stackpanel does this automagically but then realised it doesn't. Perhaps I'm thinking back to when I was doing WPF stuff. Is there a control for this or will I need to use a grid and some math to pidgeonhole the images into the next available grid cell? cheers, Stephen _____ Support procedure: https://www.codify.com/lists/support List address: <mailto:[email protected]> [email protected] Subscribe: <mailto:[email protected]> [email protected] Unsubscribe: <mailto:[email protected]> [email protected] List FAQ: <http://www.codify.com/lists/ozsilverlight> http://www.codify.com/lists/ozsilverlight Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists _____ Support procedure: https://www.codify.com/lists/support List address: <mailto:[email protected]> [email protected] Subscribe: <mailto:[email protected]> [email protected] Unsubscribe: <mailto:[email protected]> [email protected] List FAQ: <http://www.codify.com/lists/ozsilverlight> http://www.codify.com/lists/ozsilverlight Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists _____ Support procedure: https://www.codify.com/lists/support List address: <mailto:[email protected]> [email protected] Subscribe: <mailto:[email protected]> [email protected] Unsubscribe: <mailto:[email protected]> [email protected] List FAQ: <http://www.codify.com/lists/ozsilverlight> http://www.codify.com/lists/ozsilverlight Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.2/1876 - Release Date: 1/13/2009 8:17 AM -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
