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

need explanation on MasterDetail's Detai BindingConext

$
0
0

hi!
i've read this article http://iosapi.xamarin.com/?link=T:Xamarin.Forms.MasterDetailPage

there is some undefined class NamedColorPage and Detail page is created using it. then, when item menu selected BindingContext of it is set to NamedColor

so, how this undefined class NamedColorPage may look like to utilize presented interface?

as i understand, it uses some internal bindings.
let it has Label, so we change its background:

we have to write somewhere in NamedColorPage: SetBinding(label.BackgroundColor, ...................)

what do we need instead of dots? how to set up the class?
please no XAML, i will learn it later. for now i don't have knowledge. besides it's so ugly, i like code behind more for now =))


Viewing all articles
Browse latest Browse all 58056

Trending Articles