August 2016
Beginner to intermediate
1049 pages
23h 17m
English
This recipe introduces the concept of data binding: binding properties of an object (source) to the view controls (target) in the behind code of a page.
XamFormsCodeBinding.XamFormsCodeBinding PCL library, right-click and choose Add | Class…; give it the name Person.cs and click Add.Person.cs:public class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
}XamFormsCodeBinding PCL and Add | New Item…; choose Forms Xaml Page, name it MainPage.xaml, and click Add. In ...Read now
Unlock full access