Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Scrollable page including a listview

$
0
0

Hello,

I need to build a page with multiple grids stacked vertically, and with a vertical scroll if the sum of the heights exceeds the screen height.

This is pretty easy to achieve by just nesting a stackpanel of grids in a scrollview. However, one of the children of the stackpanel is a Listview with some unknow number of items. I need the listview to show the entire list of items at once.

Yet, the Listview keeps invisible as it is included in a stackpanel (or in a grid with Star size). The only solution I found was to include it in a Grid with Absolute size, but I actually don't know the size of the items.

How can I enforce the listview to show all of its children and not collapse to a null height?

Thank you


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>