Image Xamarin背景图像截断

Image Xamarin背景图像截断,image,xaml,xamarin,Image,Xaml,Xamarin,我在网格内有一个背景图像,具有以下属性: <Grid> <Image Source="background.jpg" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Aspect="AspectFill"/> </Grid> 图像的顶部和底部被切断。我一直在玩不同的属性没有运气。这在i

我在网格内有一个背景图像,具有以下属性:

<Grid>
    <Image Source="background.jpg" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Aspect="AspectFill"/>
</Grid>


图像的顶部和底部被切断。我一直在玩不同的属性没有运气。这在iOS和Android中都是一个问题。

您能分享一个示例或显示完整的代码吗?我无法复制你的问题。