'How to change the size of an object inside CollectionView Xamarin?
I don't can change height of an object inside collectionView Xamarin, how to change height with c#?
Solution 1:[1]
You can bind the control's height with your objects like:
<CollectionView.ItemTemplate>
<DataTemplate>
<Button Text="{Binding btnText}"
HeightRequest="{Binding heightvalue}"/>
</DataTemplate>
</CollectionView.ItemTemplate>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Adrain Zhu -MSFT |
