Code Binding v XAML Binding
The first shows an example of data binding in a C# code-behind:
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.