Take the 2-minute tour ×

Is it possible to chage Grid.RowDefinition when VisualState changes? Can I extract Grid.RowDefinitions in style or template for select that I need in story board?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You could possibly write an attached behavior/property that changes the grid row/column definitions depending on a parameter, but you can also use something like a WrapGrid, VariablieSizedWrapGrid or as I said in an answer to your separate question - you can just have separate grids with different layouts and switch visibilities depending on the visual state.

share|improve this answer

Your Answer


