roubachof / Sharpnado.CollectionView

A performant list view supporting: grid, horizontal and vertical layout, drag and drop, and reveal animations.
The Unlicense
244 stars 30 forks source link

Auto Height of CollectionView #96

Closed Suleman218 closed 1 year ago

Suleman218 commented 1 year ago

Hi, I'm using vertical collection view, but it required height value , i want the height according to the content

roubachof commented 1 year ago

If you have several fixed height for your items you can data template selector and SizedDataTemplated. If each of your item may have a different size depending on its content, use regular Maui CollectionView.

RahmatilloAbduqodirov commented 8 months ago

Hi, I'm using vertical collection view, but it required height value , i want the height according to the content

You can use HeightRequest="NaN" for dynamic height content