private void OnTitlesLoaded(object sender, LoadCompletedEventArgs e) { if (e.Error == null) { // Make sure that we load all pages of the Customers feed. if (Titles.Continuation != null) { Titles.LoadNextPartialSetAsync(); } // Set the total page count, if we requested one. if (e.QueryOperationResponse.Query .RequestUri.Query.Contains("$inlinecount=allpages")) { _totalCount = (int)e.QueryOperationResponse.TotalCount; } IsDataLoaded = true; // Update the pages loaded text binding. NotifyPropertyChanged("PagesLoadedText"); } else { // Display the error message in the binding. this.Message = e.Error.Message; } }