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

Example of binding with a path more than one level deep?

$
0
0

Can someone provide an example of how to define a binding in code for a path that is more than one level deep? For example consider this

//directly setting works
Title = model.Person.FirstName

//binding like this doesn't work
BindingContext = model;
SetBinding(TitleProperty, new Binding("Person.FirstName"));


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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