Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

need explanation on MasterDetail's Detai BindingConext

zloidooraquezloidooraque USMember
edited June 2014 in Xamarin.Forms

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 =))

Posts

Sign In or Register to comment.