Xamarin.Forms - ListView无法加载整个ViewCell

时间:2018-05-19 11:18:24

标签: xamarin xamarin.forms xamarin.forms.listview

我遇到了在Xamarin.Forms应用程序中的ListView中加载ViewCell的问题。

ViewCell显示正确但只有一半。我试着向下滚动,但我不能。 ListView结束加载,但ViewCell旨在继续。

感谢您的回答!

1 个答案:

答案 0 :(得分:1)

查看ListView.HasUnevenRows Property

  

要自动调整行高以适应内容,首先是开发人员   将HasUnevenRows属性设置为true;第二,要么离开   RowHeight的默认值为-1,如果已经设置为-1,则将其设置为-1   改变。

     

source

official documentation中的更多详情。