Xamarin.Forms Data Binding – Quick Introduction

Code Binding v XAML Binding


The first shows an example of data binding in a C# code-behind: 

C# file:


XAML file:








The second example shows our data binding being done in our XAML file:


Our (now very sparse) C# file:







And our busier XAML file:









Both do exactly the same thing.

Leave a Reply

Your email address will not be published. Required fields are marked *