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

Custom Rendering for ListView

$
0
0

I want to hide the separator lines in a list view. I looked at http://developer.xamarin.com/recipes/cross-platform/xamarin-forms/listview-hide-separator-line/ , where the following is stated:

"The following code will also work for a ListView on iOS since it is based on the same underlying native control as TableView."

I tried it but the problem is that the I can't override the onElementChanged method of ListView (because it is internal? see http://forums.xamarin.com/discussion/20224/custom-renderer-for-listview-and-android-style-in-xamarin-forms)

Does this mean that I can only implement a custom renderer for TableView but not for ListView?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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