private void DataGrid_LoadingDataSource(object sender, Newegg.Oversea.Silverlight.Controls.Data.LoadingDataEventArgs e) { PagingInfo p = new PagingInfo { PageIndex = e.PageIndex, PageSize = e.PageSize, SortBy = e.SortField }; _Facade.Query(this.DataGrid.QueryCriteria as GroupBuyingQueryVM, p, (s, args) => { if (!args.FaultsHandle()) { this.DataGrid.TotalCount = args.Result.TotalCount; this.DataGrid.ItemsSource = args.Result.Rows.ToList("IsChecked", false); } }); }