August 2016
Beginner to intermediate
1049 pages
23h 17m
English
This recipe introduces the concept of data binding some object instance properties to view controls in XAML.
XamFormsXamlBinding.XamFormsXamlBinding 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 the Content tag, add the following code ...Read now
Unlock full access