I'm developing a UWP app on Windows 10. I'm trying change column and row of a control in code stage. However, I have not found a solution that works. Any suggestions ?
Thanks.
I'm developing a UWP app on Windows 10. I'm trying change column and row of a control in code stage. However, I have not found a solution that works. Any suggestions ?
Thanks.
you can use either of these ways :
Grid.SetRow(elementToSetOn, rowNumber);
or
elementToSetOn.SetValue(Grid.RowProperty, rowNumber);
Similarly you can set for column also.