【发布时间】:2017-06-13 14:58:19
【问题描述】:
我知道 ListView 类没有名为 BackgroundImage 的属性 - 只有 BackgroundColor 属性,但这不是我想要的。有没有一种方法可以将背景图像添加到 ListView 中,这样当我滚动图像时,图像会保持原位,而当您滚动时,图块只会在图像上“移动”。
将图像添加到ContentPage 也不起作用,因为 ListView 只是覆盖它。
【问题讨论】:
-
您可以尝试使列表视图和列表视图项的背景透明,并将图像放在列表视图后面。
标签: c# xaml xamarin xamarin.forms background-image