I'm trying to make my first app, and I'm having a little trouble with the grids. I'm trying to make the left side of the screen a map, and the right side 2 boxes/grids. I'm not sure if there is a way to have an object within multiple grids or how to just setup a layout like that (basically a + with the left line gone)
So far, this is the code I gotten for the layout.
<Grid.RowDefinitions>
<RowDefinition Height= "*"/>
<RowDefinition Height= "*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="1">
<!-- map -->
</Grid>
You can't make an element "take up" multiple grids but you can make it span multiple cells by setting
Grid.RowSpan
orGrid.ColumnSpan
as appropriate.e.g.