Now that we have defined our user interface for our ContentPage using XAML, our next step is to begin creating the underlying C# code within our WalkTrailInfoPage code-behind file, which will populate each of our Bindings with the chosen trail information from the WalksMainPage, which will be passed in as a parameter to this class.
Let's take a look at how we can achieve this by following these steps:
Open the WalkTrailInfoPage.xaml.cs code-behind file, ensuring that it is displayed within the code editor, and enter the following code snippet:
//
// WalkTrailInfoPage.xaml.cs
// Displays related trail information chosen from the WalksMainPage
//
// Created by Steven F. Daniel on 14/05/2018
// Copyright © 2018 GENIESOFT STUDIOS. All rights reserved.
//
using System;
using Xamarin...