Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

access View of databound ListView item

$
0
0

I have a custom datatemplate for my ListView.
The business object (e.g. type of "Person") has many properties and I want to avoid having too many bindings for every property.
That's why I would prefer to set the view's property values (of e.g. "PersonCell") manually, just after the View has been created and it's BindingContext/DataContext is set to a "Person" instance.

Is this possible at all to access the View created for a data item ? And where would I do this ? (In OnBindingContextChanged I don't seem to be able to get access to the view associated with the provided data item/BindingContext)


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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