I enabled grouping in the ListView, and the group header has a light gray background color. How can I remove it \ make it transparent?
iOS sets the default background color of Cell instances. You can change it via iOS platform-specific property:
<ListView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core">
<ListView.GroupHeaderTemplate>
<DataTemplate>
<ViewCell ios:Cell.DefaultBackgroundColor="Transparent">
<!--other views...-->
</ViewCell>
</DataTemplate>
</ListView.GroupHeaderTemplate>
</ListView>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With