If you set only the number of rows, additional columns will be added to accommodate new
controls. Likewise, if you set only the number of columns, additional rows will be added.
<Grid> <UniformGrid Rows="2" Name="uniformGrid1" > <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> </UniformGrid> </Grid>
<Grid><UniformGrid Columns ="2" Name="uniformGr1" > <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> <Button Content="my1"></Button> </UniformGrid> </Grid>
No comments:
Post a Comment