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

ListView/TextCell with Transparent Backgrounds

$
0
0

Hi

I'd like to have a ListView which has transparent Background for both the list control and items.

I currently have a ListView which is using a TextCell to render each item.

var cell = new DataTemplate(typeof (TextCell));
cell.SetBinding(TextCell.TextProperty, "Name");

_list= new ListView()
{
BackgroundColor = Color.Transparent,
ItemTemplate = cell,
BindingContext = this
};

Unfortunately, the background for each item is still white. Is there anyway to change this?

Thanks,
Ant


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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