RE: Control thumbnails

2010-12-06 Thread Greg Keogh
I have found that it is unreliable to use a Viewbox unless you specifically want the effects it produces. I planned to fill the parent Grid with a Viewbox Stretch=None to effectively turn it off, but there are weird side-effects. Viewbox has a mind of its own about sizing inside a parent. I cannot

Re: Control thumbnails

2010-12-06 Thread Miguel Madero
+1 hehehe On Mon, Dec 6, 2010 at 10:43 PM, Shane Morris (Automatic Studio) < sh...@automaticstudio.com.au> wrote: > Hey, one more crack like that about Blend and I'll withdraw all > suggestions! > > :-) > > -Original Message- > From: ozsilverlight-boun...@ozsilverlight.com [mailto: > ozsi

RE: Control thumbnails

2010-12-06 Thread Shane Morris (Automatic Studio)
Hey, one more crack like that about Blend and I'll withdraw all suggestions! :-) -Original Message- From: ozsilverlight-boun...@ozsilverlight.com [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Greg Keogh Sent: Monday, 6 December 2010 10:32 PM To: 'ozSilverlight' Subject: R

RE: Control thumbnails

2010-12-06 Thread Greg Keogh
Shane is a mind-reader. I was looking for the control that auto-sizes its contents in various ways, it's the ViewBox of course. I'll wrap each child in a ViewBox. My parent can have 4 x 4 cells, and in normal display the top visible control will have row and col span 4 with Stretch=None. In tile

Re: Control thumbnails

2010-12-06 Thread Jack Ukleja
How about using the FluidLayout behavior from Blend? http://msdn.microsoft.com/en-us/library/ee341455(Expression.30).aspx First setup the Grid with the 4x4 rows/cols. Then create two visual states: The first state will be your