Xamarin IOS BackGgroundColor doesn't work?

136 Views Asked by At

I have a problem with the header of a listview, as I understand it, unlike Android, on IOS by default I have the background color = White .. I would like to have it as transparent as on android in fact, but I can't set it up, I'll post the code:enter image description here

Thanks in advance.

1

There are 1 best solutions below

2
Liqun Shen-MSFT On

You may refer to this Cell Background Color on iOS.

In your code, change

<ViewCell Height="25" x:Name="ViewCellWithe" >

to

ViewCell Height="25" x:Name="ViewCellWithe" ios:Cell.DefaultBackgroundColor="Transparent" >