Forum Xamarin.Forms

Xamarin froms, how to use content view in list view in .cs file

AfsarunnisaMdAfsarunnisaMd USMember ✭✭
edited July 2017 in Xamarin.Forms

I have some customised content view in Xamarin from app, I am using that content view in list view using xcml page

<ContentPage xmlns=""




Same thing I want to access it from ,cs file how to do that ...

        var listView = new ListView { ItemTemplate = CardViewTemplate, RowHeight = 160 };

it is throwing error, how can we add template to list view ?

Sign In or Register to comment.