views:

18

answers:

0

Hi All,

I want to create a really slick wrap panel layout in my SL4 application, I have been doing a fair bit of research into the fluid move behaviors, and I think its where I want to go but I cannot get it right.

I want a list of controls in a 2(row) X 2(col) Grid starting with just a singular control, then once I add controls to the grid, the new items animate nicely into place. I can do this, I saw it done here: http://www.kirupa.com/blend_silverlight/fluidmove_pg1.htm (which is a fantastic tutorial BTW).

But my complexity comes in when:
a) I want to remove any one of the controls

b) If there is only one control, I want it to take up the whole screen like a 1 (row) X 1 (row) grid, not just the first block of the grid, and if there are 2 controls, I want more of a 1 (row ) X 2 (col)

I hope this makes sense, I am open to funky ideas but I really wanted to avoid hard coding animations as the 2x2 grid may change in the future.