public StepPage(Steps step) { Title = string.Format("{0}: Pick an Activity", StepNames.LookUpStepNameGivenCode (step)); Debug.WriteLine ("Screen for step: " + step); theStep = step; lblStepTotal = new Label () { FontSize = 14, FontAttributes = FontAttributes.Italic, HorizontalOptions = LayoutOptions.Center, TextColor = Color.Red, }; tableRoot = new TableRoot ("TableRoot"); ts = new TableSection (); tableView = new TableView { Intent = TableIntent.Form, Root = tableRoot, }; // Define command for the items in the TableView. navigateCommand = new Command<Activity> (async (Activity a) => { Debug.WriteLine ("navigate to Activity =" + a.FullName); Page page = new ActivityPage (a); await this.Navigation.PushAsync (page); }); ListSubTasks (); //Title = string.Format("{0} ({1} points earned)", StepNames.LookUpStepNameGivenCode (theStep), ListSubTasks ()); }