private async void ListViewSamplePage_Loaded(object sender, RoutedEventArgs e) { imageList = await CustomImage.GenerateImages(); MyPager.NumberOfPages = (int)Math.Ceiling((double)imageList.Count / imagesPerPage); UpdateCollection(); }
private async void ListViewSamplePage_Loaded(object sender, RoutedEventArgs e) { imageList = await CustomImage.GenerateImages(); MyPager.NumberOfPages = (int)Math.Ceiling((double)imageList.Count / imagesPerPage); UpdateCollection(); }