有没有办法让Windows UA中的对象占用多个网格?

我正在尝试制作我的第一个应用程序,而且在网格上遇到了一些麻烦。 我试图让屏幕的左侧是地图,右侧是2个框/网格。 我不知道是否有办法在多个网格中有一个对象,或者如何设置一个这样的布局(基本上,左边的线已经消失了)

到目前为止,这是我得到的布局代码。

<Grid.RowDefinitions> <RowDefinition Height= "*"/> <RowDefinition Height= "*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid Grid.Row="1"> <!-- map --> </Grid> 

您不能让一个元素“占据”多个网格,但可以根据需要设置Grid.RowSpanGrid.ColumnSpan使其跨越多个单元格。

例如

 <Grid> <Grid.RowDefinitions> <RowDefinition Height= "*"/> <RowDefinition Height= "*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <!-- Map will take up left hand side --> <Map Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" /> <!-- top right --> <Button Content="+" Grid.Column="1" Grid.Row="0" /> <!-- bottom right --> <List Grid.Column="1" Grid.Row="1" /> </Grid>