/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> protected override void OnNavigatedTo(NavigationEventArgs e) { context = (NavigationContext)e.Parameter; //Get the lists from the database notes = ServiceCalls.GetNotes(context.UserContext.UserName, context.UserContext.Password); foreach (var item in notes) { //add the lists to the listview as listviewitems ListViewItem lvi = new ListViewItem() { Content = item.Name, FontSize = 32 }; listview.Items.Add(lvi); } }