Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expression Blend: Insert a row into a grid at design time

Ok, so I have a grid with lots of controls. And oops, I missed something and need to move everything down one row...

type type type

My mistake, I needed two rows...

type type type

Ok, this really sucks. So, how do I insert a row in a way that will move everything down.

like image 502
Jonathan Allen Avatar asked Feb 06 '10 05:02

Jonathan Allen


1 Answers

Not sure which version of Blend you are on, but in version 4 I can click to the left of the grid to divide a row into two. This has three effects:

  1. creates a new row in the Grid.RowDefinitions section
  2. adds 1 to the Grid.Row attributes of all rows beneath your division (moves them all down a row)
  3. adds 1 to the Grid.RowSpan attribute of all controls in the row you have divided

You can now manually change the the RowSpans back to their original value and voila - you have a blank row.

like image 70
Mike Chamberlain Avatar answered Nov 19 '22 17:11

Mike Chamberlain