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

How to change a Cell's selected behavior?

$
0
0

So I have a ListView which contains ViewCells. I want to change how the ViewCell renders when selected. I understand I have to write a custom renderer, but I don't know how for this particular case. The Cell class doesn't seem to have an exposed "IsSelected" property or anything of the like...the ListView does have Get/SetHighlightWhenSelected, but those are not overridable, and only set a bool.

So how do I change the selected Cell's rendering? What am I not seeing here?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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