我有Xamarin Forms项目,我正在尝试在xaml中创建此页面:
enter image description here

我试图用这个xaml创建它:

<StackLayout>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Grid.Column="0" Text="A" />
        <Label Grid.Row="1" Grid.Column="0" Text="B" />
        <Label Grid.Row="2" Grid.Column="0" Text="C" />
        <Label Grid.Row="3" Grid.Column="0" Text="D" />
        <Label Grid.Row="4" Grid.Column="0" Text="E" />
        <Label Grid.Row="5" Grid.Column="0" Text="F" />

        <Label Text="A2" Grid.Row="0" Grid.Column="1" />
        <Image Grid.Row="1" Grid.Column="1" Grid.RowSpan="4" Aspect="AspectFit" Source="{Binding ImagePath}" />
        <Label Text="B2" Grid.Row="5" Grid.Column="1" />
    </Grid>

    <Label Text="Details" />
    <StackLayout HorizontalOptions="FillAndExpand" Orientation="Horizontal" >
        <Label HorizontalOptions="FillAndExpand" Text="All" />
        <Label HorizontalOptions="FillAndExpand" Text="Scheduled" />
        <Label HorizontalOptions="FillAndExpand" Text="Unscheduled" />
    </StackLayout>
</StackLayout>

但它看起来像这样:

enter image description here

问题是"Details"标签之前有间距 . 当我删除图像时它看起来很好:
enter image description here

如何将图像放置在网格内,使其看起来像第一张图像?