Is it possible to change where a control is placed in a grid from code-behind?
For example, if I have a Button in Grid.Row="1", can I change that to Grid.Row="0" from code-behind?
Is it possible to change where a control is placed in a grid from code-behind?
For example, if I have a Button in Grid.Row="1", can I change that to Grid.Row="0" from code-behind?
Yes. Just go:
Grid.SetRow(button,0);
where button is the element to change.