/// <summary> /// Loads the content for the second pivot item when it is scrolled into view. /// </summary> private async void choroby_Loaded(object sender, RoutedEventArgs e) { var historyData = await DataSources.GetHistoryAsync(); modelManager[IllnessPivot] = historyData; Choroby.ItemsSource = historyData; }