Quantcast
Viewing all articles
Browse latest Browse all 58056

Is there a way to control how ListView's cells are constructed?

I'd like to pass some additional values to each cell in the ListView. Currently I'm setting ItemTemplate = new DataTemplate(typeof(MyCustomCell));, which seems to be doing the magic for me.

Is there a simple way to override the logic of cell creation, so that I can pass some additional values to the ViewCell's constructor?


Viewing all articles
Browse latest Browse all 58056

Trending Articles